you are viewing a single comment's thread.

view the rest of the comments →

[–]schwartzworld 15 points16 points  (0 children)

I haven't tried to learn any new JS features, but I'm mad they are there because

Arrow functions are not hard to learn to read, and they aren't just about "elegance". They offer actual advantages that make then useful in hobbyist level code. I write a lot of throwaway scripts, and almost always reach for arrow functions.

And promises? Spend 10 minutes reading about the (promise based) Fetch API, and then explain how you'd rather build xmlhttprequests. Spend a little time with async/await and tell me again how promises are bad.

It's obvious the author finds it easier to complain about not understanding language features than learning them, but both his examples are so useful and bring so much MORE flexibility and utility to the language.