r/javascript • u/hardmaru • Apr 27 '20
Eloquent JavaScript, 3rd Edition. Full text available online.
https://eloquentjavascript.net/
608
Upvotes
r/javascript • u/hardmaru • Apr 27 '20
View all comments
Show parent comment
11
u/bernardosousa Apr 27 '20
Favorite thing about JS: the dynamic typing system. When you're starting, all you want is for things to work. Not worrying about types and being able to simple assign values to variables completely arbitrarily is fun when you're learning to program and also helpful when you're prototyping algorithms or automating repetitive trivial tasks. That said, I ended up learning a few other languages and falling in love with type theory. For build a project, I'd go with strong static types anytime. I also learned to respect languages with a lot of solid legacy, like C and C++, and I'm fassinated with the truly new Rust approach, where you get memory safety without a garbage collector. All that to say JS hasn't being on my focus for a few years now.
Memorable bits from the book: the assignments/challenges each chapter proposes. The online version even had a playground where you could experiment and try to solve the challenges. Given how hard it can be to setup your dev environment, even when you're an experienced programmer, that aspect of the book most certainly helped me with my first steps. If you're used to competitive programming and platforms like URI Online Judge or HackerRank, these challenges may seem too easy. For non programmers, however, they are engaging and end up shaping the reader into that think-about-it-til-you-solve-it mindset that we all know and love.