
JavaScript Patterns
by Stoyan Stefanov · first published 2010
35mentions
29recommended by
33HN commenters
2010–2024first – last mentioned
88% recommend12% neutral
Why HN recommends it
Examples-driven tour of JavaScript best practices and design patterns, helpful for understanding scoping and how code in popular libraries works; suits programmers who already know the basics and want to write better JS.
Summarised by Claude from recommending comments
Affiliate links. As an Amazon Associate I earn from qualifying purchases.








…http://bonsaiden.github.io/JavaScript-Garden/ http://www.addyosmani.com/resources/essentialjsdesignpattern... JavaScript: The Good Parts by Douglas Crockford Secrets of the JavaScript Ninga by John Resig JavaScript Patterns by Stoyan Stefanov As a side note, some of the most brilliant people I've worked with didn't have CS degrees (Music, History, English, etc). Their key strength was that they were passionate about what…
on “Self Taught Web Dev -What Should I Do?” ↗Here are a couple book recommendations for those of you looking to improve your JavaScript: "JavaScript: The Good Parts" by Douglas Crockford "JavaScript Patterns" by Stoyan Stefanov
on “Preparing Yourself for Modern JavaScript Development” ↗…http://www.quora.com/What-are-the-best-resources-for-learnin... The three books worth getting for someone who is already a programmer are: Crockford's "Javascript: The Good Parts", Stoyan Stefanov's "Javascript Patterns", and Resigs's "Secrets of the Javascript Ninja" IMHO, there are few videos worthwhile.
on “Ask HN: JavaScript Dev Tools” ↗One book that I found to be really good was 'JavaScript Patterns' by Stoyan Stefanov. Great book, though I am not sure how much this article overlaps with the book. [http://www.amazon.com/JavaScript-Patterns-Stoyan-Stefanov/dp...]
on “Essential JavaScript Design Patterns For Beginners” ↗…details http://dmitrysoshnikov.com/tag/ecma-262-3/. This 3 books are great reading material: 1) JavaScript: The Good Parts - Douglas Crockford, 2) High Performance JavaScript - Nicholas C. Zakas, 3) JavaScript Patterns - Stoyan Stefanov
on “Ask HN: Best HTML5/CSS3/JavaScript books/tutorials for a kernel engineer?” ↗…resource that I can think of has already been listed by @dutchrapley, with the exception of 1 (so he gets my vote :D) - Once you finish reading 'The Good Parts' and 'JavaScript Ninja' take a look at 'JavaScript Patterns' by Stoyan Stefanov [www.amazon.com/JavaScript-Patterns-Stoyan-Stefanov/dp/0596806752/] On a related note, there was some interesting discussion right here on HN with regards to Addy Osmani's JS Patterns…
on “Ask HN: Learning to write good JavaScript” ↗…language, I think it may help explain some of the trickier things. My main critique was that I did find some of the text overly verbose. My favorite book is still Stoyan Stefanov's http://www.amazon.com/JavaScript-Patterns-Stoyan-Stefanov/dp... and I've read nearly all of them at this point.
on “John Resig's ‘Secrets of the JavaScript Ninja’ has been released” ↗…Useful books. The first is online and free (the other two are as well, somewhere): http://eloquentjavascript.net/ http://www.amazon.com/Professional-JavaScript-Developers-Nic... http://www.amazon.com/JavaScript-Patterns-Stoyan-Stefanov/dp... Solve toy problems to solidify knowledge of methods and syntax: http://coderbyte.com/CodingArea/Challenges/ Good material- lots of video and problems. Not free but worth it: https://www.codeschool.com/…
on “Ask HN: So I just finished the JavaScript course on Codecademy, now what?” ↗Another book which I really liked is JavaScript Patterns by Stoyan Stefanov.
on “Learning JavaScript - my experience and advice” ↗http://www.amazon.com/JavaScript-Patterns-Stoyan-Stefanov/dp... Boom. Get it while it's hot.
on “Javascript: is 'this' a code smell?” ↗the node API is not yet stable so a node.js book would date to quickly. pure js books are a better bet. I love Javascript patterns by Stoyan Stefanov. There are two other good Javascript books.
on “Ask HN: Any good Node.js books?” ↗Great start! Here are a few other books I've read recently and marked the crap out of because there is so much good information in them. - JavaScript Patterns by Stoyan Stefanov - High Performance JavaScript by Nicholas C. Zakas - High Performance Web Sites by Steve Souders - Even Faster Web Sites by Steve Souders Here are a few I haven't read yet but…
on “Ask HN: I've read JS Definitive Guide, Good Parts. What next?” ↗I thought Javascript Patterns by Stoyan Stefanov was pretty good and not too client-side centric.
on “The Node Beginner Book” ↗Javascript Patterns by Stoyan Stefanov is another great primer on JS best practices. Above all, if you're not delinting and using strict, you're dead in the water.
on “How One Missing `var` Ruined our Launch” ↗My favorite is 'JavaScript Patterns' (http://www.amazon.com/JavaScript-Patterns-Stoyan-Stefanov/dp...).
on “Microsoft shoots down Google's Dart” ↗