Hacker News new | ask | show | jobs
by mo_42 677 days ago
There's JavaScript The Good Parts by Douglas Crockford.

I've read the book and watched a similar series on YouTube.

3 comments

Second this recommendation. There's been a lot of changes to JS recently, but it's still worth reading The Good Parts because I think it's philosophically a good way to approach JavaScript. It can be a good language if you know which parts to avoid, and which quirks to look out for.

There's also https://github.com/getify/You-Dont-Know-JS as a good follow-up to The Good Parts.

This book was excellent for the time, but is now quite outdated. Stuff like how he proposes modules is completely irrelevant with ES modules, arrow functions make ‘this’ much easier, and we have block scoped bindings
Seconded. I won't recommend it and no one I know has recommended it for a decade. It's hard for someone who doesn't know JS to know which parts has changed and is no longer the way to do things.

https://github.com/getify/You-Dont-Know-JS and

https://eloquentjavascript.net/ are the 2 best source for learning JS.

If you don't have time to read both, just go with https://eloquentjavascript.net/

If one needs to go further, go through http://superherojs.com/ , just ignore links that are dead.

He did a marvellous and very entertaining lecture series on JS:

https://m.youtube.com/watch?v=JxAXlJEmNMg