3 ms·
Can we please do “stricter mode” for some of this? “strict mode” was a great hack, and we are long overdue for fixing stuff My white whale: make “let” mean wha
by rtpg 4y ago
Can we please do “stricter mode” for some of this? “strict mode” was a great hack, and we are long overdue for fixing stuff
My white whale: make “let” mean what “const” means, and “var” mean what “let” currently means. But there are definitely better things to get done
I’m for keeping things working generally of course. People being against “don’t break the web” is a bit odd to me. But we are long overdue for versioning so we can actually fix stuff, especially given how much modern code goes through transpilers and the like
- drdec 4y ago> But we are long overdue for versioning The trend seemed to be in the opposite direction. In the early days, you could use the language attribute of the script tag to specify a version, e.g. language="JavaScript1.2". But that failed to become a standard. HTML used to be versioned by the DOCTYPE, but that fell out of favor with HTML5.