Help! Should I use semicolons for @mjavascript code examples?
-
-
Replying to @nzgb
Help! Should I use template literals for every string in
@mjavascript code example?5 replies 0 retweets 1 like -
Replying to @nzgb @mjavascript
I don’t really care which one you pick, but consistency reduces confusion and seems like a good thing.
1 reply 0 retweets 6 likes -
Replying to @mathias @mjavascript
Me neither but people have opinions on this. Not everyone sees it as a purely stylistic choice
1 reply 0 retweets 0 likes -
True, but your poll will likely end up 50/50.
1 reply 0 retweets 0 likes -
Replying to @notaurologist @mathias
In that case I can make my own choice but the semicolon poll makes me want to switch to semicolons & reduce friction
3 replies 0 retweets 0 likes
Replying to @nzgb @notaurologist
them in code examples: readers learn where they make sense (e.g. not after `class … {}`). People who prefer no-semi can
3:39 PM - 14 Mar 2017
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.