News for hackers. Stuff that matters.
Re:ECMAScript 2017 Language Specification by tracker1 on Tuesday July 11, 2017 @06:04PM (#14748479)
Most modern projects should probably use Babel and a bundler like Webpack for web targets. You may even want to separate legacy and modern browsers into separate targets so the 80-90% of users on evergreen browsers get a smaller download.
Re:ECMAScript 2017 Language Specification by komali2 on Tuesday July 11, 2017 @06:57PM (#14748779)
Yea, we probably should. Too many feature requests, not enough time to let us clear out the technical debt and make our stack nice and modern :(
Re:ECMAScript 2017 Language Specification by azernik on Tuesday July 11, 2017 @07:04PM (#14748821)
I'm only two years into my current project and already am feeling this bite :-\
Re:ECMAScript 2017 Language Specification by tehlike on Wednesday July 12, 2017 @02:06AM (#14750462)
how smaller do you think things could get?
Re:ECMAScript 2017 Language Specification by tracker1 on Friday July 14, 2017 @01:27AM (#14767718)
Depends, are you including ES5 shims, not to mention the corejs stuff for ES6, regenerator etc if you're using async. It all adds up. Given it's not that much in terms of size, but it's a lot in bloat for browsers that don't need it.