4 ms·
Criticisms and bizarre fawning over beauty that a couple of people have made aside, the one thing that bugs me the most is the inconsistent usage of ;
by Ataraxy 8y ago
Criticisms and bizarre fawning over beauty that a couple of people have made aside, the one thing that bugs me the most is the inconsistent usage of ;
- strainer 8y agoTo my eyes semicolons are like comments in JS code which indicate "this has been linted for publication". But this > (one); (occasion) where a semicolon can have meaning in JS leaps out of the screen - even easier if they are not blanketed everywhere. The incomplete blanketing in this code is very casual. I see it no more than an invitation to hand-lint what I want to touch.
- dang 8y agoI should fix that, since sctb probably agrees with you and is too polite to say so. Any suggestions for me as a shitty semicolonist?
- spiralx 8y agoYou can always use either Prettier or Standard JS to lint and format your code, and both can be set up with or without semicolons... https://standardjs.com/ https://standardjs.com/ https://prettier.io/ https://prettier.io/ I prefer Standard JS, but either way it's easier to not need to think about the exact details IMO :)
- Ataraxy 8y agoI'm not some grand arbitrer of the semi colon debate to tell you what is the best possible thing to use (to the best of my knowledge it's a preference thing at this point). Personally I prefer to just use none at all these days in practice, but that's just me. I just found it weird that they were seemingly arbitrarily used here on occassion.