Re:TC39, ECMAScript, and the Future of JavaScript
by andreineculau on Monday June 26, 2017 @08:02PM
(#14641479)
Oh please. Decorators will never beat plain old functions when it comes to flexibility.
[ Parent
| on HN ]
Re:TC39, ECMAScript, and the Future of JavaScript
by rhencke on Monday June 26, 2017 @08:30PM
(#14641607)
C will never beat plain old assembly when it comes to flexibility.
Re:TC39, ECMAScript, and the Future of JavaScript
by hajile on Monday June 26, 2017 @08:51PM
(#14641712)
Hardly a fair comparison. Decorators exist in Python and other languages primarily because they either don't have lambdas or have bad ones. JS doesn't suffer from those problems, so the mental overhead of the additional syntax has a much lower payoff (and one that I believe isn't worth the trouble).