News for hackers. Stuff that matters.
Re:Mining my mailbox for top email service providers by fireattack on Tuesday February 18, 2020 @12:14PM (#22357659)
The biggest problem I have with JS in term of readability is IIFE. I know what it does, but it just looks ugly when you have hundreds of them in a program. The "semicolon in front" is even worse, needless to say.

There gotta be a better way to design syntax for an async language.. right?

Re:Mining my mailbox for top email service providers by layoutIfNeeded on Tuesday February 18, 2020 @01:50PM (#22358952)
Wait, why do you need IIFE in post-ES6 JS? Just use let/const.
Re:Mining my mailbox for top email service providers by fireattack on Tuesday February 18, 2020 @01:51PM (#22358957)
Well, OP's example is using it, but I think it's for top level async/await (not a JS dev here)?
Re:Mining my mailbox for top email service providers by crooked-v on Tuesday February 18, 2020 @03:47PM (#22360235)
Top level await is in Stage 3, so it'll be baked into the general system before too long.
Re:Mining my mailbox for top email service providers by kehers on Tuesday February 18, 2020 @02:11PM (#22359204)
Yup