Hacker News new | ask | show | jobs
by __ryan__ 1419 days ago
Accept that your understanding of JavaScript is outdated. Appreciate you have at least some experience though.

If you care to learn modern JavaScript, which you should, check out Eloquent JavaScript [0]. It’s a free web-based ebook providing an introduction to modern JavaScript.

Also, stop with the negative narrative. You are overwhelmed, not helpless. Instead of telling yourself you don’t understand code and giving up, just Google said code. It’s easier than ever. In a few weeks, you won’t need to reach for Google. If you encounter a dependency you don’t understand, try to find some documentation.

Accept that there are black boxes that “just work” despite being deprecated or lacking documentation.

Your job is not to learn the history of JavaScript and how it evolved from your understanding. Your job is to get up to speed with modern JavaScript enough to make functional programs to solve the business’ needs.

0: https://eloquentjavascript.net/

2 comments

> Accept that there are black boxes that “just work”

This is pretty integral to my job and I’ve been in the industry for 11 years or so. You can’t know everything right away and it’s overwhelming to try to attempt to do so. Learning certain parts has its time. For now just focus on what is in front of you.

“Method X produces Y and that’s what I need” next step.

OP follow this advice, that's the best learning resource for modern JS.

The #1 thing you can do for yourself first though is accepting that what you learned 20 years ago probably means dick. JS has radically changed and that's OK. Go into this book with that mindset and you will come out a champ.

After completion of Eloquent JavaScript and a decent comfort level with modern JS, is there an equally great resource to then transition into TypeScript?
Typescript docs are good [0], and it's incredibly easy to pick up, since it's just javascript with type annotations.

[0]: https://www.typescriptlang.org/docs/