Re:"Useless Ruby sugar": Argument forwarding
by throwanem on Friday November 24, 2023 @03:20PM
(#38407803)
No, Javascript has functions. That arrow functions handle the "this" binding specially I'll grant as a potential design error, and certainly as a complication; to reiterate, I have not said Javascript is perfect. But classes and methods are sugar over prototype-based objects from 1995, which you are still perfectly free to write if you like.
[ Parent
| on HN ]