21 ms·
Eloquent JavaScript, Second Edition
- aboutaaron 12y agoThis was a great reference when I started learning JavaScript. It just didn't go over the language, but also gave a great history of programming in general and why JavaScript is structured how it is. A lot has changed in JS land since the first version came out so I look forward to have the author tackles it/
- chazu 12y agoAgreed. This book's conversational style and carefully-worded explanations of core concepts from multiple paradigms helped me begin to grok javascript beyond just $('.that-thing-there').doStuff();
- thewarrior 12y agoInspite of all the criticism that Javascript gets it's so easy to just dive in and start messing around. The game projects seem like a lot of fun.
- uptownJimmy 12y agoExcellent. I've been awaiting this one. I'm at the perfect sweet spot to make maximum use of it. And I do love good writing...
- UnfalseDesign 12y agoIn regards to the book's online version, I like how it has code examples that one can edit and run inline among the book's text. I often find myself, while reading a book on a particular language, opening up a new project in an IDE or a REPL in order to fiddle around with what the book it trying to teach. This makes it much more fluid. It was a pleasant surprise. It is a nice concept I have not previously seen done. (I'm sure someone can come up with examples of where it has previously been done before but this is the first I personally have seen it.)
- isaacdl 12y agoIf you like Python, check out How To Think Like A Computer Scientist (http://interactivepython.org http://interactivepython.org). It's aimed at introductory CS classes, but the inline interactivity is pretty cool! (Shameless plug: a couple of my professors developed this, and I spent last summer contributing to it).
- fixnum42 12y agoFor those who don't like Python, and want to think like a real computer scientist check out Interactive SICP (http://xuanji.appspot.com/isicp/ http://xuanji.appspot.com/isicp/) It is also aimed at introductory CS classes.
- rfrey 12y agoLinked resource is first rate; tone of comment not so much.
- dmarusic16 12y agoHoly Christ, I had no idea this existed. Awesome.
- humpt 12y agothis is theses other forks which can be nicer on mobile: - html: http://sarabander.github.io/sicp/ http://sarabander.github.io/sicp/ - epub/pdf in the repo: https://github.com/sarabander/sicp https://github.com/sarabander/sicp
- nkron 12y agoThat's neat, generally I like physical books better but that really shows the potential of ebooks. I've been working on something similar for the JavaScript/browser APIs (http://www.javascripture.com http://www.javascripture.com) since I learn a lot better when running code myself.
- elwell 12y agoI just wish we had hi-res, color, e-ink monitors with quick refresh rate. I can't bring myself to read an entire book online; even if it's free.
- geppetto 12y agoGreat book but... is it finished yet? Doesn't seem so [1]. [1] https://github.com/marijnh/Eloquent-JavaScript https://github.com/marijnh/Eloquent-JavaScript
- ingve 12y agoAccording to Marijn Haverbeke's twitter feed[0]: "I am happy to announce that the online edition of Eloquent JavaScript's 2nd edition is done, and online at " http://eloquentjavascript.net http://eloquentjavascript.net [0] https://twitter.com/marijnjh/status/494433950505644032 https://twitter.com/marijnjh/status/494433950505644032
- deleted 12y ago[deleted]
- marijn 12y agoIt more or less is, apart from some further proofreading. I forgot to update the README file.
- ZeroGravitas 12y agoReading through the first few chapters I found a couple of words with double brackets round them (( )) that look like they should just have been italics (or maybe links to another section?).
- marijn 12y agoThose were index terms that weren't properly parsed by asciidoc. Should be better now.
- RevolverOce 12y agoI've been following this book for a while now and I'm pretty thrilled to see its reception here on HN. This book is an excellent introduction to front-end development (and even a little backend since it does include a chapter on Node.js) It has an excellent balance of design patterns and introductory knowledge to attract the new and also seasoned developers who are beginning to look at javascript more seriously. (This book is also a great primer for anyone who did not understand Javascript the Good Parts)
- etherealG 12y agoAny idea if this book would be a waste of time if the good parts sunk in easily?
- batmansbelt 12y agoWhy no epub? I don't need the hassle of downloading all the pages and converting.
- andreash 12y agoMobi or epub version anyone?
- taude 12y agoCLick on the link to purchase, you can buy a mobi or epub version, or a bundle with the printed book (not ready yet)
- andreash 12y agodoesn't lool like mobi is ready yet.
- splitbrain 12y agoThe sources (https://github.com/marijnh/Eloquent-JavaScript https://github.com/marijnh/Eloquent-JavaScript) are written in ASCIIdoc which has an epub export. So it should be easy to build one yourself.
- marijn 12y agoThere will be one. I haven't gotten around to all the fiddly parts involved in producing a good-looking ebook yet.
- taude 12y agoThe original version is one of the readings that I suggest for experienced engineers on our team who are new to working with JavaScript.
- TelusX 12y agoThis is the best Javascript tutorial out there, and I was eagerly looking forward to this update. From glancing at the text, however, it seems that it doesn't cover the very significant upgrades introduced by ECMAScript 6 "Harmony". Seeing that the standard is already being finalized towards a release in 4 months[1], this seems like an unfortunate omission in an otherwise top-notch text. [1] http://en.wikipedia.org/wiki/ECMAScript#ECMAScript_Harmony_.286th_Edition.29 http://en.wikipedia.org/wiki/ECMAScript#ECMAScript_Harmony_....
- huxley 12y agoDoesn't sound like ECMAScript 6 is coming out until mid-2015 https://twitter.com/awbjs/status/474662357516689410 https://twitter.com/awbjs/status/474662357516689410 http://blog.oio.de/2014/06/13/ecmascript-6-delayed-mid-2015/ http://blog.oio.de/2014/06/13/ecmascript-6-delayed-mid-2015/
- TelusX 12y agoThat is unfortunate. I do hope the ES author updates his text to ES6 to encourage newbies to make use of the many new features, though it's understandable he chose to refrain from it for now.
- _random_ 12y agoAnd based on their past performance quite likely to be later than that date as well. I would expect it done by ~2020.
- rmrfrmrf 12y agoKind of a cheap shot, don't you think? Standards and browser adoption are two completely different things. It will be years before anyone tries using ES6 features in JavaScript and expects most browsers to understand them.
- TelusX 12y agoIt wasn't my goal to take a shot at Eloquent Javascript. As I said, it's my first recommendation to any newbie learning Javascript, and an absolutely top-notch text. > It will be years before anyone tries using ES6 features in > JavaScript and expects most browsers to understand them. I dispute that. Many ES.next features are already implemented in popular browsers[1]. [1] http://kangax.github.io/compat-table/es6/ http://kangax.github.io/compat-table/es6/
- gprasanth 12y agoI've been wanting to read this. Sweet: https://gist.github.com/g-P/cbdfd4a4b982ba8fa04b https://gist.github.com/g-P/cbdfd4a4b982ba8fa04b
- ClashTheBunny 12y agoThe github page for the book has a makefile that creates a pdf of the book. The book was written for both computer and pdf, so you should really build the PDF from the code to get the parts of the text that have been altered for print. If you just PDF the html, you end up with some weird things from the interactive parts. You can find the build targets here: https://github.com/marijnh/Eloquent-JavaScript/blob/master/Makefile https://github.com/marijnh/Eloquent-JavaScript/blob/master/M...
- dbough 12y agoAttempted to make a PDF from the makefile. I don't have some of the fonts needed - am I out of luck?
- marijn 12y agoYes, it's currently trying to build the pdf with the No Starch house style, which contains commercial fonts. Setting up a plain-LaTeX build for the pdf is near the top of my list of things to do (but I'm taking a holiday first).
- deleted 12y ago[deleted]
- silverwind 12y agoI thoroughly enjoyed the first edition, looking forward to this.
- beders 12y ago"These ideas were initially worked out in the 1970s and 80s, and, in the 90s, were carried up by a huge wave of hype—the object-oriented programming revolution. Suddenly, there was a large tribe of people declaring that objects were the right way to program, and that anything that did not involve objects was outdated nonsense. That kind of zealotry always produces a lot of impractical silliness, and there has been a sort of counter-revolution since then. In some circles, objects have a rather bad reputation nowadays." Eloquent JS, maybe, eloquent writing. Not in this book.
- etep 12y agoI disagree. The writing is excellent: pragmatic and insightful at the same time. In fact, your quote is a great example of its high quality. I don't need, nor do I like, the heavy handed style of some authors. Eloquent JS is eloquent both in its writing, and in the fact that it elevates javascript.
- EvanYou 12y agoNote the author is not a native English speaker, and the book in its current form probably hasn't gone through the editors yet.
- jamesbritt 12y agoApparently the book is done. https://twitter.com/marijnjh/status/494433950505644032 https://twitter.com/marijnjh/status/494433950505644032
- kimmel 12y agoThis book needs some serious editing. There is clunky English which native speakers can figure out the gist of it but English as a second or later language would have a problem with. There are parts where I wonder why certain terminology is not explained before using it and other areas where terminology is explained that I assume the reader needed to know before reading this material. Good technical books have a section in the beginning usually called something like "Intended audience" or "Who should read this book". I only did editing for a few years but those are the first things I noticed after reading the intro and chapters 1-3.
- deleted 12y ago[deleted]
- niix 12y agoAlways wanted to take the time to complete this book. Looking forward to diving into the 2nd edition.
- mesozoic 12y agoLooking forward to reading it. Is there a place to report bugs I noticed a type in the first chapter "Casual computing has become become much "
- desipenguin 12y agogithub link given later - may be report bug there, or just send a pull request : https://github.com/marijnh/Eloquent-JavaScript https://github.com/marijnh/Eloquent-JavaScript
- derengel 12y agoWhy is the paper book delayed until november? also the paper book says it has 400 pages, does the paper book has more content?
- huntleydavis 12y agoBook will have much larger font
- marijn 12y agoIt'll have a single bonus chapter. But the current text, as it is online, already takes up 390 pages when typeset in No Starch's house style.
- phren0logy 12y agoWill you consider accepting donations on your site?
- marijn 12y agoYes, that's something I planned but haven't gotten around to yet. (Not very clever to leave it after the big announcement, I suppose.)
- deleted 12y ago[deleted]
- poxrud 12y agoGood read. After you finish this book I'd suggest the free Javascript Allonge https://leanpub.com/javascript-allonge/read https://leanpub.com/javascript-allonge/read An excellent intermediate/advanced javascript book.
- HolyHaddock 12y agoSeconded. I'm currently using it as a beginners Javascript book and find it extremely accessible.
- vincentleeuwen 12y agoWe'll speak to you again once you're beyond chapter 5... (absolutely loved it as well by the way)
- cmoon820 12y agoblah
- greg5green 12y agoI am both quite happy and a little sad that the chapter on functional programming was nixed from the first edition. It was way over the heads of the beginners the book was aimed at, but it sure was fun to try and figure out.
- taude 12y agoIs that stuff in the chapter called higher order functions now? http://eloquentjavascript.net/05_higher_order.html http://eloquentjavascript.net/05_higher_order.html
- greg5green 12y agoFrom my quick skim checking to see if it was still there, no. He touches on some of the same points, but it's not nearly as in-depth or crazy (in a wonderful, functional way).
- greg5green 12y agoAfter looking at the old chapter again (http://eloquentjavascript.net/1st_edition/chapter6.html 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
- donniezazen 12y agoI want to learn decent amount of HTML/CSS/JS to beautify and improve the usability of my webpage. What would be a good source to learn these things?
- humpt 12y agoWhen I started this about 8 years ago or so, i used [this book](http://www.headfirstlabs.com/books/hfhtml/ http://www.headfirstlabs.com/books/hfhtml/). It's structured as a case study, a coffee shop owner who wants to make a small webpage. It's amazing how it's well written and fun to read. I like it puts some effort in showing you quickly the benefit of what you learned, you never get the impression something is pointless. (NB: it's big but you don't have to read it all. I read say the first half, than used it more like a reference book.)
- oweiler 12y agoShould I buy/read the second edition when I already own the first one?
- marijn 12y agoOnly if you feel you want to go over that material again, in a more up-to-date format, and with better/more example projects. If you've already mastered JS and web development, the new edition probably won't teach you anything new.
- humpt 12y agoThis is a bit off topic but does someone know how this book is generated, which tools are used?
- mkesper 12y agoQuestion to author: Why did you choose CC-BY-NC when you also make your contents available under MIT licence?
- kasabali 12y agoAs I understand audience of the book is both experienced programmers and who hasn't done programming before. Can anyone please comment if it will be boring for experienced programmers (who are new to javascript) or not?
- marijn 12y agoThe first few chapters will probably be a bit slow. But it ramps up pretty quickly around chapter 5.
- etherealG 12y agoWould anyone recommend this after already going through the good parts by Douglas Crockford?