News for hackers. Stuff that matters.
Re:A Modern JavaScript Tutorial by z3t4 on Monday December 07, 2020 @08:11PM (#25340259)
JavaScript has some really nice features that this tutorial does not mention 1) First class functions 2) Prototype 3) Function scope 4) What async means and how to master it Those I think is essential in order to understand JavaScript.
Re:A Modern JavaScript Tutorial by SPBS on Monday December 07, 2020 @10:27PM (#25341382)
This website covers every nitty gritty detail of javascript, even DOM specific aspects like https://javascript.info/bubbling-and-capturing (just look at how well it is written). I would be highly surprised if it did not even mention those javascript basics. A brief look at its table of contents shows that indeed it mentions those, and I am baffled why the other commentor is getting downvoted for calling you out.
Re:A Modern JavaScript Tutorial by z3t4 on Tuesday December 08, 2020 @06:33AM (#25344006)
For example the article about callbacks basically says "use Promises" which is even more complicated then first class functions.

Helpful resource: http://callbackhell.com/

Re:A Modern JavaScript Tutorial by fogetti on Monday December 07, 2020 @09:29PM (#25340926)
What are you talking about? Did you even take a look at the table of contents?
Re:A Modern JavaScript Tutorial by rfrey on Monday December 07, 2020 @10:34PM (#25341435)
I didn’t downvote, but calling people out for not reading the article — even if it seems blindingly true — is against HN rules and always gets downvoted.
Re:A Modern JavaScript Tutorial by rfrey on Tuesday December 08, 2020 @06:21PM (#25352966)
Now I'm being downvoted because my comment seems like a non-sequitur. But prior to an edit, my parent was wondering why they were being downvoted, which is what I replied to.