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
-
I do because it looks more like C, and the minifier will remove superfluous ones anyway.
-
neeno31725yI need the semicolons in every language I use, my code feels "naked" if I don't use them.
-
@neeno i am crying in python and vba. i really like it (at least the first one) but coming from php and javascript it never stops feeling weird.
-
C0D4681385yBesides python, every other language I use requires them, so fuck trendy js standards.
-
ol' leading semicolon so your uglifier doesnt break it in addition to uglifying it.
i only remember that one because of flashcards.
but you cant use it on self executing functions that use arrow functions. or was that self executing functions that use the "function" keyword?
shit. time for another flashcard. -
Simply using them is just better.
Weird bugs due to optional semicolons are scary. -
Weird bugs due to optional semicolons shouldn't happen in 99.9% of normal code :upside_smile:
-
@igorsantos07 indeed! Especially now, when ESLint covers such edges cases successfully, why the hell I need semicolons? I don't need that verbosity, thanks 😆
-
klutch4274yI do, because good practice I guess???
No sense in teaching myself to leave em out then fuck myself in 3 other languages haha
Seems like I'm in the minority now since most people don't use semicolons in JS.
rant