Top all-time · #193
Marijn Haverbeke
Personal blog · eloquentjavascript.netprogrammingwriting
Marijn Haverbeke writes Eloquent JavaScript, a personal blog at eloquentjavascript.net about programming and writing. Since 2007, 226 different Hacker News readers have linked it 284 times, most often “Eloquent JavaScript, Second Edition”. No feed was found, so read it on the site itself.
Often recommended · 22 of 40 sampled comments recommend it?
Why HN links it
HN readers link Eloquent JavaScript as a free, readable introduction to JavaScript and programming, often recommended to beginners and to people who want to build projects.
- Recommended for · 22 comments
- Described as a clear, readable, well-structured book; the async chapter and the bindings section are singled out.
Summarised by Claude from a sample of 40 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.
Most-linked posts?
- Eloquent JavaScript, Second Edition89 people · 98 mentions · first linked 2007-08-03
- Eloquent JavaScript 4th edition (2024)45 people · 52 mentions · first linked 2013-10-02
- Learn to program without leaving the browser window: Eloquent JavaScript17 people · 26 mentions · first linked 2008-05-15
- eBook: Eloquent JavaScript (w/ integrated interface for editing and running example programs)14 people · 16 mentions · first linked 2008-01-22
- Eloquent JavaScript8 people · 9 mentions · first linked 2017-03-27
- Eloquent Javascript - free Online Book with a console to try the language.5 people · 5 mentions · first linked 2007-11-13
- Eloquent Javascript [E-book]4 people · 4 mentions · first linked 2008-06-26
- Eloquent JavaScript, 3rd edition4 people · 4 mentions · first linked 2017-10-12
- Eloquent JavaScript 2nd edition preview3 people · 4 mentions · first linked 2014-01-23
- Higher-Order Functions in JavaScript3 people · 3 mentions · first linked 2014-07-31
What Hacker News says?
you can see the differences on github: https://github.com/marijnh/Eloquent-JavaScript/compare/3rd_e... From a quick browse: - # for private properties - ESM imports in node - hasOwnProperty -> hasOwn (TIL: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe... ) - Math.pow -> ** - coverage of `function*` generators ( https://eloquentjavascript.net/11_async.html#h-o+cFzGGhnz )
Comment linking /11_async.html
on “Eloquent JavaScript 4th edition (2024)”Submitted Eloquent JavaScript 4th edition (2024) as a story · 1274 points
HN discussionChapter 11 on async is particularly good, I still get confused by async/promises sometimes in Javascript - https://eloquentjavascript.net/11_async.html
Comment linking /11_async.html
on “Eloquent JavaScript 4th edition (2024)”Submitted Eloquent JavaScript 3rd Edition (2018) as a story · 767 points
HN discussionI love this book, even since its first edition. It's very clear even on elementary stuff, e.g. see the section on bindings/variables: https://eloquentjavascript.net/02_program_structure.html#h-l... — avoids the pitfall of thinking of variables as “boxes”. I was trying to find what's new in the 4th edition, and following links from the author's website https://marijnhaverbeke.nl/ found this on Mastodon ( https://mast…
Comment linking /02_program_structure.html
on “Eloquent JavaScript 4th edition (2024)”Submitted Eloquent JavaScript, Second Edition as a story · 632 points
HN discussion'Hacking' doesn't even begin to cover it. How about we don't `break` like we should (!) and instead have fallthrough¹ cases that execute several cases— or more — on purpose ²? Oh, switches. Always the horror. In networking they somehow replaced bridges, but it's the same thing (that was never confusing to anyone, obviously). In (my) programming, a switch so often turns out to be a nice dressing hiding some horror pa…
Comment linking /02_program_structure.html
on “How to manage HTML DOM with vanilla JavaScript only?”Submitted Eloquent JavaScript, Second Edition as a story · 371 points
HN discussionEloquent Javascript - http://eloquentjavascript.net/ You build 5 projects through the book - a programming language, paint program, a dom game and a skill sharing website using node js.
Comment linking /
on “Ask HN: What are some books where the reader learns by building one project?”Submitted Eloquent JavaScript, 3rd edition as a story · 199 points
HN discussionEloquent Javascript. It really cleared up a lot of CS concepts for me: https://eloquentjavascript.net/
Comment linking /
on “Ask HN: Do you recall any book or course that made a topic finally click?”Submitted Eloquent JavaScript 3rd Edition Draft as a story · 148 points
HN discussioncomparable to: http://eloquentjavascript.net/
Comment linking /
on “Show HN: Codecademy.com, the easiest way to learn to code”Submitted Higher-Order Functions in JavaScript as a story · 136 points
HN discussionGreat read, though his writing style is less intuitive if you are fairly new to JavaScript and trying to grasp some of its concepts. For example, in his reduce function [0] example, he names his variable "current" to bind the accumulated value the reduce function is going to eventually return. That is a totally fair name, but I don't know if it really "clicks" if you were reading over this for the first time. I thin…
Comment linking /05_higher_order.html
on “Eloquent JavaScript 3rd Edition (2018)”Submitted Eloquent Javascript - free Online Book with a console to try the language. as a story · 121 points
HN discussionYour tracking reminds me of the book Eloquent Javascript. A chapter walks through a story where a guy would turn into a squirrel every night and he doesn't know why. He tracks everything and run correlations on it to find a cause. http://eloquentjavascript.net/04_data.html Thanks for sharing your methods... very proactive and persistent.
Comment linking /04_data.html
on “The Big Vitamin D Mistake”Submitted Eloquent JavaScript - online guide to javascript for beginners as a story · 101 points
HN discussionLooks very nice. Is this on webgl? Speaking as a non-professional JS programmer, where can I read about how to architect a program like this where you select a tool, then that tool lets you draw (or do something) on canvas. Another tool, has a different behavior to mouse click/movement while initial placement and later editing of the nodes. Architect it in such a way that its not a long list of if statements for sta…
Comment linking /19_paint.html
on “Show HN: I made a free animator. Think Adobe Illustrator but for animation”Submitted Eloquent JavaScript as a story · 50 points
HN discussionThe best resources I've found so far are: Nginx: http://wiki.nginx.org/Main JavaScript: http://www.wrox.com/WileyCDA/WroxTitle/Professional-JavaScri... and http://eloquentjavascript.net/ jQuery: http://www.sitepoint.com/books/jquery2/ and http://www.headfirstlabs.com/books/hfjquery/ Backbone: https://peepcode.com/products/backbone-js and http://backbonetutorials.com/ ... but I've barely started. And yeah I'm still l…
Comment linking /
on “There's no speed limit (2009)”Submitted Eloquent JavaScript - An interactive online book about programming as a story · 15 points
HN discussionThe best approaches I've found are: http://www.codeschool.com/ and http://eloquentjavascript.net/ But I do think it's crucial to have some little project that's actually live and launched, that people are using, that you can add things to and constantly improve. It helps you get immediate feedback, and remember why you're doing what you're doing: to make other people's lives better! You don't want to just be learnin…
Comment linking /
on “There's no speed limit (2009)”Submitted Eloquent JavaScript – Second Edition as a story · 13 points
HN discussionThe 'You Don't Know JS series' https://github.com/getify/You-Dont-Know-JS or this http://eloquentjavascript.net/
Comment linking /
on “The most mentioned books on Stack Overflow”Submitted Eloquent JavaScript 2nd edition preview as a story · 12 points
HN discussionAfter looking at the old chapter again ( http://eloquentjavascript.net/1st_edition/chapter6.html ), it isn't as intimidating as before. So yeah, maybe it is still mostly all there -- it seems the ES5 syntax makes it way less confusing
Comment linking /1st_edition/chapter6.html
on “Eloquent JavaScript, Second Edition”Submitted Eloquent JavaScript as a story · 8 points
HN discussionIs that stuff in the chapter called higher order functions now? http://eloquentjavascript.net/05_higher_order.html
Comment linking /05_higher_order.html
on “Eloquent JavaScript, Second Edition”Submitted Learn to program without leaving the browser window: Eloquent JavaScript as a story · 8 points
HN discussion