Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
mahaDev22225yI try my best to write it the second way and then use autoformatter just to make sure.
-
Yes.
I do number 2 when others are going to be looking at my code, otherwise number 1 to save keystrokes. -
Shell -- #1, because it does not accept spaces around equals char.
Programming -- #2, for clarity
How do you type your code? Like:
a=b+c;
or
a = b + c;
question