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
-
caap3847yJavascript is just pain for anyone, that learned coding the right way. It just doesnt feel right.
-
@templartrace the semi colon is, and Im pretty sure (but not 100%) 2 spaces is as well.
-
heikomat6867yIt's all a matter of time. I used quite a few different code-styles. At the beginning, I hated every style I hadn't used before, they felt wrong.
But with enough usage came the realization: these are just code styles. One is not neccessarily inherently better than the other. It's mostly just a matter of getting used to it -
I'm pretty sure AirBnb ESLint standard has semicolons; check that one out, you may like it
I'm just C# boy, born and raised in a .Net world ... Today I started some stuff with JavaScript, downloaded the JavaScript standard extension for using in Vs code... It made me do things...it made indent each new line by 2 spaces! Not 4 or a tab but 2! And then what really took the fucking biscuit, it said I couldn't end my statements with semi colons! I need a strong cup of tea and a sit after that shit. How is that at all useful to anyone!? It just made it make less sense!!!!
undefined
semicolons
javascript
tabs vs spaces