DeepRead
Cover of JavaScript Patterns

JavaScript Patterns

Stoyan Stefanov · 2010

Writing, design and web craft › Web performance and JavaScript patterns

#1,348 most recommended

About the book

JavaScript Patterns is a practical guide to writing better JavaScript for programmers who already know the language basics. It covers the language's core mechanics, including literals, constructors, functions, scope, and inheritance, along with reusable design patterns, coding conventions, performance considerations, and browser and DOM scripting. The book contends that JavaScript's flexible object and function model supports a set of recurring, reusable solutions, and that knowing these patterns leads to clearer and more maintainable code. It presents techniques such as namespacing to limit global state, closures for private data, and prototypal inheritance as the building blocks for this. It also argues that consistent conventions and attention to performance matter in real projects, and that many idioms in popular libraries rest on these same foundations.

Written by Claude from what it knows of this book.

What Hacker News says 88% recommend · 0% critical

0102020102015202020242012 peak · 14
This bookAverage book in Web performance and JavaScript patterns

In the commenters’ own words

What Open Library readers say 3.80 from 5 ratings

  1. 51
  2. 43
  3. 30
  4. 21
  5. 10
  • 8 want to read
  • 0 reading
  • 7 have read

Only 5 ratings: treat the average as a hint.

Open Library’s page for the book

What critics say, via Wikipedia

No Wikipedia article about this book yet, so no critics to quote.

Reddit communities — coming later

The threads it came up in

Details

First published
2010
ISBN
9780596806750
Editions known
4 at Open Library
Open Library
OL15667637W

Com051260Cs.cmp_sc.app_swCs.cmp_sc.prog_langGamesGeneralJavaScript (Computer program language)JavascriptSoftware patternsWeb site development

Explore in the mosaic

Read next: its neighbours on the mosaic