Ask HN: Changing my mind about JavaScript
61–70 of 73 posts
Re: Ask HN: Changing my mind about JavaScript
#62https://github.com/tc39/proposals/blob/main/finished-proposa...
Re: Ask HN: Changing my mind about JavaScript
#63There's JavaScript The Good Parts by Douglas Crockford. I've read the book and watched a similar series on YouTube.
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
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.
Re: Ask HN: Changing my mind about JavaScript
#64Re: Ask HN: Changing my mind about JavaScript
#65Been coding for 30+ years. In the last 5 years I have come around to not hating JavaScript (TypeScript really), but let's be honest, it took 15 years of hearing the JS community tell us "sure JavaScript used to be awful, but now it's finally good" for it to actually be true. I remember clearly the days of callback hell. You didn't change your mind about JavaScript, JavaScript changed it's mind about being a real lang…
Re: Ask HN: Changing my mind about JavaScript
#66https://github.com/getify/You-Dont-Know-JS
When I was beginning to develop a deeper understanding of JS a few years ago, that book, Kyle's talks, and conference presentations by Chrome's V8 team were very helpful for me. It looks like Kyle has expanded the content considerably since then too.
Re: Ask HN: Changing my mind about JavaScript
#67I would recommend using Typescript and a strict linter if possible. TS is essentially modern Javascript plus static typing (so by learning TS, you also learn JS as a side effect), and strict linting rules will reject outdated Javascript features and nudge you towards the 'good parts'. With those two things (a static type system layer, and strict linting) JS is actually a quite decent language nowawadays, especially i…
My biggest gripe with Typescript is how much more difficult (Except perhaps in Bun/Deno) it is to set up compared to vanilla JS.
ts-node ./my-typescript.ts
doesn't seem difficult...
Re: Ask HN: Changing my mind about JavaScript
#68Re: Ask HN: Changing my mind about JavaScript
#69Re: Ask HN: Changing my mind about JavaScript
#70There's JavaScript The Good Parts by Douglas Crockford. I've read the book and watched a similar series on YouTube.