Eloquent JavaScript, Second Edition
eloquentjavascript.net
eloquentjavascript.net
https://bugs.webkit.org/show_bug.cgi?id=92769
It's marked as RESOLVED FIXED, but I honestly can't tell from the comments if it was ever actually merged in.
There's also an initiative to begin using it in Firefox's built-in dev tools, still in-progress:
https://bugzilla.mozilla.org/show_bug.cgi?id=816756
(By the way, the difference in readability between the old and new Bugzilla is startling. Good job, Bugzilla team.)
This tool is crowdfunded at indiegogo[2]
[2]http://www.indiegogo.com/projects/tern-intelligent-javascrip...
Combining various sources and styles with general documentation reading and stackoverflow answers really helped me.
That's how crowd-funding needs to be done, in my opinion. I don't care about little knick knacks - I want my monetary support to actually better the product, not be spent on useless items.
I think it has more to do with how people see JavaScript, i.e., whether JavaScript is a general purposes programming language or just a tool to make cool things happen on web pages, than it does what framework they do or don't use.
jQuery won't help you much with architecture, but then again, neither will your text editor, and it's about as guilty as your text editor or the native DOM API of helping you learn JS or use it effectively.
There are great functional examples in Eloquent Javascript, that show you how to go from low-level loops to high-level abstractions. That's EJ's triumph: it guides you through the mental leap you have to make to go from for loops, to useful enumerations like maps and folds and the like.
1. https://tutsplus.com/course/javascript-fundamentals/ 2. http://javascriptissexy.com/how-to-learn-javascript-properly...
I would recommend Codecademy instead. I like it a lot because the courses consist of short parts where it first describes what you are going to do and why, and then makes you do it. You then see the fruits of your efforts on the mini-browser immediately. For me that was huge, because it is much easier to put the stuff you learn into context when you are seeing the results right away.
Eloquent JavaScript would be great if you want to get down to the knitty-gritty details of the language. But I would argue that not everyone needs that level of detail at the beginning.
edit: not sure why I'm being downvoted...
The new function object is given a prototype property
whose value is an object containing a constructor property
whose value is the new function object.
... whereas Eloquent Javascript is written in English.[Edit: To be fair, Douglas Crockford does write in the preface that the book is dense and may require multiple readings. He means it.]
I've seen people that are that arrogant and have delusions of grandeur. They are the poison, really.
Eloquent JavaScript on the other hand, is a great book to actually learn from.
You can learn a lot from both, but they are aimed at different audiences, IMO.
And yes, it's a huge cpu hog. But it will pause when you unfocus/hide the page.
Anyway, I've made it so that the bitmaps are hidden when the animation is disabled, since they are the most likely candidate for making scrolling slow.
[edit - yes - it says this at the bottom of the page!]
But I had to remove the background to finish the page, it really creeped me out.
It's a cool animation though and a nice reference to the first book, personally I'd probably add a small toggle for the bugs.
Who knows. Perhaps this will become some sort of interesting blended model for other authors.
-- Bill Pollock, No Starch Press
Please don't sign comments, especially with your url. They're already signed with your username. If other users want to learn more about you, they can click on it to see your profile.
I'm pretty new to js and I'm only part way through as of now but the built in console when reading it online really helps solidify the experience for me.
Wow, I had absolutely no idea that Marijn wasn't a native speaker. I've always considered Eloquent Javascript one of the best written technical books I've read.
something like donate $25, get one of the first copies of the books.
Or even have it be a digital version, or something...
Sending a book costs about $10 for the book, $2-5 for shipping, and days of my time to orchestrate. It'd decimate more than half of a $25 donation. I do see the appeal of perks, but I think the trade-off is unattractive in this case.
-- Bill at nostarch dot com
donateButton.onclick=perk;
function perk(){ book.getPageByNumber(getRandomPage())=insertWittyHaverbekeProgrammingPearls(); book.getPageByNumber(getRandomPage())=insertAutographOnRandomPage(); book.getPageByNumber(getRandomPage())=insertNoStarchPrintEbookPromo(); }
function getRandomPage(){ pageNumber=Math.random()*book.length; return pageNumber; };
Bill
I look forward to the new version, especially for onboarding experienced devs that don't have all the nuances of Javascript mastered.
Hopefully he'll reach his target.
Minas Gerais is the Brazilian state that I live, what a coincidence. I wonder if the author choose randomly...
Javascript uses client-side resources for execution. Build a crappy app (and they will because their learning), and it will freeze my browser/their browser. Other reasons why JavaScript sucks for learning programming:
- You won't know you messed up until you execute your code - It's slow. - Debugging JavaScript code blows. And most tutorials don't even show users how to do that. - - ESPECIALLY IF YOU USE JQUERY - Too many to list.
This is because it's so easy to get something up and running - you don't need to figure out how to set up a development environment or how to compile something. You can focus on learning how to program.
Yes, there is some really bad Javascript out there, but that's why we need this book.
However, I think this is beside the point anyway for two reasons. First, as the author here is running the campaign himself, it's entirely within his power to set the rules. If one of the tasks isn't raising as much as he expected, he can decide to lower the price. He could also rework the task definition to fit better given the amount raised.
Secondly, I have seen both the first edition of this book, and the companion interactive website, recommended time and time again, here and elsewhere. I would not be surprised if many (if not all) of these goals are hit.
edit: wording fixes