257m@lemmy.ml to Programming@programming.dev · 2 years agoWhat are your programming hot takes?message-squaremessage-square834fedilinkarrow-up1344arrow-down114
arrow-up1330arrow-down1message-squareWhat are your programming hot takes?257m@lemmy.ml to Programming@programming.dev · 2 years agomessage-square834fedilink
minus-square0xc0ba17linkfedilinkFrançaisarrow-up1arrow-down5·edit-22 years agoPeople who insist on using semicolons in Javascript don’t understand why and are just following a cargo cult. Remove the semicolons, be free. Edit: lmao I hit some nerve here
minus-squarefrezik@midwest.sociallinkfedilinkarrow-up2·2 years agoIt’s also because my fingers automatically type them for the sake of most other languages. Let me have my muscle memory.
minus-squareNested_Array@lemm.eelinkfedilinkarrow-up1·2 years agoiirc semicolons are required in JavaScript strict mode.
People who insist on using semicolons in Javascript don’t understand why and are just following a cargo cult.
Remove the semicolons, be free.
Edit: lmao I hit some nerve here
It’s also because my fingers automatically type them for the sake of most other languages. Let me have my muscle memory.
iirc semicolons are required in JavaScript strict mode.
They’re absolutely not