News for hackers. Stuff that matters.
Re:The Cost of JavaScript in 2019 by baron816 on Sunday June 30, 2019 @01:22PM (#20319272)
Sure, but 99.99% of devs don’t need to know this and probably shouldn’t know this lest they decide one day “this will be faster so I’ll just do it this way” not thinking of how awful and confusing it will be for everyone else.
Re:The Cost of JavaScript in 2019 by vram22 on Sunday June 30, 2019 @01:31PM (#20319337)
Plus, in some future implementation, it could happen that the current faster way becomes slower, due to changes in the JS interpreter / JITter etc. At least, think it could. Not a language lawyer or implementer.
Re:The Cost of JavaScript in 2019 by coding123 on Sunday June 30, 2019 @06:24PM (#20320958)
Yeah I'm getting a frustrated feeling like the entire ""+"" debate in Java all over again.
Re:The Cost of JavaScript in 2019 by maxxxxx on Sunday June 30, 2019 @01:31PM (#20319341)
And others will copy this pattern without knowing why. so quickly you have these weird patterns all over your code.