News for hackers. Stuff that matters.
Re:Async/Await will make code simpler by imperio59 on Monday August 21, 2017 @02:15PM (#15066442)
Anyone else bothered by the utter lack of semicolons in the example code? :D
Re:Async/Await will make code simpler by strictnein on Monday August 21, 2017 @03:10PM (#15066899)
Yes It's like reading English without periods It's frustrating
Re:Async/Await will make code simpler by askAwayMan on Monday August 21, 2017 @03:15PM (#15066948)
If you've got a halfway decent linter, semicolons are just clutter. https://eslint.org/docs/rules/no-unexpected-multiline is the sort of thing that makes semicolon free style practical.
Re:Async/Await will make code simpler by Bahamut on Monday August 21, 2017 @03:39PM (#15067174)
There 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.

Re:Async/Await will make code simpler by kjsthree on Monday August 21, 2017 @02:56PM (#15066778)
Let go and let god. :D