
This & object prototypes
Simpson, Kyle (JavaScript systems architect) · 2014
Writing, design and web craft › JavaScript programming
#6,973 most recommended
Hacker News
5
mentions by 5 people · top 48% of 15,732 books
Open Library
4.67★★★★★★★★★★
3 ratings · 4 want to read
Wikipedia
—
No article yet
About the book
The second volume of Kyle Simpson's "You Don't Know JS" series, covering how the JavaScript this keyword gets its value and how object prototypes work. It covers the four binding rules for this (default, implicit, explicit, and new), arrow functions, and the [[Prototype]] chain, including property lookup, delegation, and object creation. JavaScript's this is determined by how a function is called, not where it is written, so developers should learn the binding rules rather than rely on guesses or workarounds. The book contends that JavaScript objects link to other objects through delegation, and that classes and inheritance are an imitation layered on top of this rather than the language's native model. It presents object-linking patterns such as OLOO (objects linked to other objects) as a simpler alternative to class-style design, and it argues for understanding the mechanism before choosing a pattern.
Written by Claude from what it knows of this book.
What Hacker News says 40% recommend · 0% critical
In the commenters’ own words
Just curious what parts you looked at? Did you glance at the table of contents, or did you read full chapters? I skimmed through pretty much all of "Scope &…
"Eloquent Javascript" ( http://eloquentjavascript.net/ ) definitely gets my vote, as it starts with concepts that someone new to programming would need to…
What Open Library readers say 4.67 from 3 ratings
- 52
- 41
- 30
- 20
- 10
- 4 want to read
- 0 reading
- 3 have read
Only 3 ratings: treat the average as a hint.
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
- 2014
- ISBN
- 9781491904152
- Editions known
- 2 at Open Library
- Open Library
- OL20034683W
Engineering PrototypesJavaScript (Computer program language)Javascript (computer program language)Object-oriented programming (Computer science)
Read next: its neighbours on the mosaic
You Don't Know JSKyle Simpson · 2014 · recommended by 88 people · named together in 4 comments
Eloquent JavascriptMarijn Haverbeke · 2009 · recommended by 226 people · similar by subject and what people say about it
JavaScript PatternsStoyan Stefanov · 2010 · recommended by 29 people · similar by subject and what people say about it
Pro JavaScript design patternsRoss Harmes · 2007 · recommended by 4 people · similar by subject and what people say about it
Object-Oriented JavaScriptVed Antani · 2017 · recommended by 9 people · similar by subject and what people say about it
Functional-Light JavaScriptKyle Simpson · 2017 · recommended by 2 people · similar by subject and what people say about it
JavaScriptDouglas Crockford · 2008 · recommended by 72 people · similar by subject and what people say about it
Effective JavaScriptDavid Herman · 2012 · recommended by 20 people · similar by subject and what people say about it
Design PatternsErich Gamma · 1994 · recommended by 95 people · similar by subject and what people say about it
Object thinkingWest, David · 2004 · recommended by 12 people · similar by subject and what people say about it
Functional JavaScriptMichael Fogus · 2013 · recommended by 25 people · similar by subject and what people say about it
The Principles of Object-Oriented JavaScriptNicholas C. Zakas · 2014 · recommended by 6 people · similar by subject and what people say about it
Professional JavaScript for Web developersNicholas C. Zakas · 2005 · recommended by 19 people · similar by subject and what people say about it
Grokking SimplicityEric Normand · 2021 · recommended by 13 people · similar by subject and what people say about it
Secrets of the JavaScript NinjaJohn Resig · 2016 · recommended by 40 people · similar by subject and what people say about it
JavaScriptDavid Flanagan · 1996 · recommended by 22 people · similar by subject and what people say about it
High Performance JavaScriptNicholas C. Zakas · 2010 · recommended by 14 people · similar by subject and what people say about it
The art of the metaobject protocolGregor Kiczales · 1991 · recommended by 38 people · similar by subject and what people say about it
The Nature of CodeDaniel Shiffman · 2012 · recommended by 73 people · similar by subject and what people say about it
Structured designEdward Yourdon · 1975 · recommended by 3 people · similar by subject and what people say about it
Become what you areAlan Watts · 1995 · recommended by 2 people · loosely similar by subject
Patterns of softwareRichard P. Gabriel · 1996 · recommended by 31 people · similar by subject and what people say about it
Javascript EnlightenmentCody Lindley · 2013 · recommended by 7 people · similar by subject and what people say about it
DOM ScriptingJeremy Keith · 2005 · recommended by 12 people · similar by subject and what people say about it