i had no idea eloquent javascript was updated with modern javascript. what a surprise! i read that book many years ago. i will check the other resources too.
Ask HN: How do I learn JavaScript?
41–50 of 128 posts
Re: Ask HN: How do I learn JavaScript?
#42The JS courses are free.
Re: Ask HN: How do I learn JavaScript?
#43Re: Ask HN: How do I learn JavaScript?
#44If you want a "perfect" understanding of ecmascript as it is implemented by V8 why not study the open source code for V8: https://v8.dev/ . How hard will it be? Well how good are you at reading code/ how much do you know about c++? If this seems too daunting, better stick with a less than perfect guide to get you part of the way there.
"If you think you understand quantum mechanics, you don't understand quantum mechanics." - the same is true for C++ which is one of a few languages impossible to learn to the perfect and complete level.
Re: Ask HN: How do I learn JavaScript?
#45My favourite resource that I discovered a few years ago in a similar Ask HN thread: http://eloquentjavascript.net > Where do I go? You don't really need to go anywhere else (especially not into the vortex of looking for the best resource) to learn and be confident with vanilla javascript. > ... and how hard is this actually going to be? Well that depends more on you and your preference for learning materials. I studi…
Re: Ask HN: How do I learn JavaScript?
#46Read the You Don't Know JS series [0] - this tackles much of what people with mediocre proficiency overlook. To go beyond that you would probably want to dive deep in to the ECMAScript specs [1] to really master the language. I don't think it will be that hard, just a slog. [0] - https://github.com/getify/You-Dont-Know-JS [1] - https://www.ecma-international.org/publications/standards/Ec...
I don’t think you can master a language in one go. It’s not how most people’s brains work. I think you do it in stages. Get yourself a good introductory JS resource. The eloquent javascript book others posted looks good although I haven’t read it myself. Then read You Don’t Know JS. And then study the spec. Almost by definition the spec is the only thing that can give you a perfect and complete understanding the language. But don’t start there as a complete beginner is not its intended audience.
Be sure to apply what you learn from each book by working on projects. Don’t just read the books. The material won’t stick that way.
Re: Ask HN: How do I learn JavaScript?
#47Re: Ask HN: How do I learn JavaScript?
#48(I know the author lurks here sometimes)
Re: Ask HN: How do I learn JavaScript?
#49If you mean ES6 as "modern" JS, then you might want to avoid any material on prototypical nature of "true" JS (which it still is under the hood). Personally I find classes and modules to be very useful.
Although you say you don't care for DOM, CSS and the many frameworks, you might need still need to build a small HTML file to kick start your JS programs. I do all my exploring and learning in Chrome's DevTools console and debugger. JS is not that difficult to learn if you already know a curly brace language (C, C++, C#, Java, etc). Even after years of working with JS, fiddling with DOM still catches me off guard on occasion.
Re: Ask HN: How do I learn JavaScript?
#50Reminds me of this thread from 2008: https://news.ycombinator.com/item?id=135494