4 ms·
Anyone else bothered by the utter lack of semicolons in the example code? :D
by imperio59 9y ago
Anyone else bothered by the utter lack of semicolons in the example code? :D
- kjsthree 9y agoLet go and let god. :D
- strictnein 9y agoYes It's like reading English without periods It's frustrating
- askAwayMan 9y agoIf you've got a halfway decent linter, semicolons are just clutter. https://eslint.org/docs/rules/no-unexpected-multiline https://eslint.org/docs/rules/no-unexpected-multiline is the sort of thing that makes semicolon free style practical.
- Bahamut 9y agoThere is one situation where semicolons are important - when concatenating multiple script files & using IIFEs. This subtlety is being obsoleted by ES modules & the build tooling around them, but it is a nasty bug that has sucked many an hour away from frontend devs whenever it is encountered.