Minimum Viable Programmer: Everything you need to know and nothing more to ditch your dead end job and join the world of tech. by Caley Dallas
Author:Caley, Dallas [Caley, Dallas]
Language: eng
Format: epub
Published: 2020-07-19T16:00:00+00:00
For languages like Python and YAML where indent level is actually critical to the operation of the code, spaces are best because you will never accidentally put something at the wrong indent level.
For anyone who is tired of pressing the space bar so many times, almost every IDE made has an option to convert the tab key to output spaces instead. learn how to configure your IDE and don’t be an asshole.
Tabs are better for:
NOTING, NOT ONE GOD DAMN THING!
Camel Case, one Hump or Two?
Camel case is when you make some of the words in your code have capital letters at the beginning. This is especially useful when you have to merge several words together into one. For example:
ThisIsMyCoolFunction()
anotherCrazyVariable = "wtf?"
Whether it’s “one hump” or “two” is whether or not you capitalize the first letter or not. In the above example the first one is two humps (also called Upper Camel Case, or PascalCase) and the other is only one hump or “Lower Camel Case”
Snake Case / Kabob Case
Snake case is when you put dashes between the words to merge several of them. like so
first-name = "Humpty"
last-name = "Dumpty"
Snake case is not used that often because many languages do not allow dashes in the variables but you will see it from time to time.
Underscores
Underscores are just like snake case except you use under scores:
my_variable
http://www.mysite.com/this_is_really_cool.png
Hungarian Notation
We haven’t got into data types yet, but when we do you will understand that variables can hold different types of data like ‘strings’ and ‘integers’ or ‘boolean’ values. With Hungarian notation you are supposed to prefix your variable names with a letter than indicates what type of data it holds. here are some examples:
sFirstName (First name string)
b_is_this_thing_on (boolean value to determine if this thing is on or not)
You get the idea. personally I think this is stupid.
Parenthesis, Brackets and Braces
Parenthesis are these ( and ), Brackets are these { and } and Braces are these [ and ] Each of these symbols is used extensively in just about every programming language. What is important to note about them is how and where they are placed. Lets take for example the definition of a function in Javascript. you will need to surround the contents of the function with brackets, but you can do this in several ways:
Open/close brackets on the same line:
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(7424)
Grails in Action by Glen Smith Peter Ledbrook(7317)
Kotlin in Action by Dmitry Jemerov(4669)
Management Strategies for the Cloud Revolution: How Cloud Computing Is Transforming Business and Why You Can't Afford to Be Left Behind by Charles Babcock(4148)
The Age of Surveillance Capitalism by Shoshana Zuboff(3445)
Learn Windows PowerShell in a Month of Lunches by Don Jones(3266)
Mastering Azure Security by Mustafa Toroman and Tom Janetscheck(3039)
Mastering Python for Networking and Security by José Manuel Ortega(2982)
Blockchain Basics by Daniel Drescher(2907)
Microsoft 365 Identity and Services Exam Guide MS-100 by Aaron Guilmette(2792)
Configuring Windows Server Hybrid Advanced Services Exam Ref AZ-801 by Chris Gill(2695)
TCP IP by Todd Lammle(2657)
Azure Containers Explained by Wesley Haakman & Richard Hooper(2582)
From CIA to APT: An Introduction to Cyber Security by Edward G. Amoroso & Matthew E. Amoroso(2495)
Hands-On Azure for Developers by Kamil Mrzyglod(2446)
Combating Crime on the Dark Web by Nearchos Nearchou(2355)
React Native - Building Mobile Apps with JavaScript by Novick Vladimir(2349)
The Social Psychology of Inequality by Unknown(2330)
MCSA Windows Server 2016 Study Guide: Exam 70-740 by William Panek(2322)