News for hackers. Stuff that matters.
Re:Javascript is a buffet, not the enemy [video] by Animats on Saturday April 29, 2017 @02:04AM (#14225275)
Here's a question. The latest versions of Javascript supposedly aren't so bad, but some legacy features of the language give problems. There's already "strict mode", which at least requires that variables be declared. Consider a "strict 2" mode, with more restrictions, intended for new, cleaner code. What features should "strict 2" disable?
Re:Javascript is a buffet, not the enemy [video] by renke1 on Saturday April 29, 2017 @09:45AM (#14226561)
I don't think you have to think much about strict mode these days. Most transpilers automatically compile to strict mode anyway (I think Babel and TypeScript do).
Re:Javascript is a buffet, not the enemy [video] by Animats on Saturday April 29, 2017 @03:11PM (#14228191)
What, nobody writes JavaScript directly any more?