• Statt: EUR 16,93
  • Sie sparen: EUR 0,44 (3%)
  • Alle Preisangaben inkl. MwSt.
Nur noch 11 auf Lager (mehr ist unterwegs).
Verkauf und Versand durch Amazon. Geschenkverpackung verfügbar.
You Don't Know JS: Scope ... ist in Ihrem Einkaufwagen hinzugefügt worden
+ EUR 3,00 Versandkosten
Gebraucht: Gut | Details
Verkauft von Deal DE
Zustand: Gebraucht: Gut
Kommentar: Dieses Buch ist in gutem, sauberen Zustand. Seiten und Einband sind intakt.
Möchten Sie verkaufen?
Zur Rückseite klappen Zur Vorderseite klappen
Hörprobe Wird gespielt... Angehalten   Sie hören eine Hörprobe des Audible Hörbuch-Downloads.
Mehr erfahren
Alle 3 Bilder anzeigen

You Don't Know JS: Scope & Closures (Englisch) Taschenbuch – 18. März 2014

5 von 5 Sternen 1 Kundenrezension

Alle Formate und Ausgaben anzeigen Andere Formate und Ausgaben ausblenden
Neu ab Gebraucht ab
Kindle Edition
"Bitte wiederholen"
"Bitte wiederholen"
EUR 16,49
EUR 11,67 EUR 13,33
52 neu ab EUR 11,67 4 gebraucht ab EUR 13,33

Wird oft zusammen gekauft

  • You Don't Know JS: Scope & Closures
  • +
  • You Don't Know JS: this & Object Prototypes
  • +
  • You Don't Know JS: Async & Performance
Gesamtpreis: EUR 51,39
Die ausgewählten Artikel zusammen kaufen

Es wird kein Kindle Gerät benötigt. Laden Sie eine der kostenlosen Kindle Apps herunter und beginnen Sie, Kindle-Bücher auf Ihrem Smartphone, Tablet und Computer zu lesen.

  • Apple
  • Android
  • Windows Phone

Geben Sie Ihre E-Mail-Adresse oder Mobiltelefonnummer ein, um die kostenfreie App zu beziehen.

Jeder kann Kindle Bücher lesen — selbst ohne ein Kindle-Gerät — mit der KOSTENFREIEN Kindle App für Smartphones, Tablets und Computer.


Mehr über den Autor

Entdecken Sie Bücher, lesen Sie über Autoren und mehr


Über den Autor und weitere Mitwirkende

Kyle Simpson is a UI architect from Austin, TX. He is passionate about user experience, specifically optimizing the UI to be as responsive, efficient, secure, and scalable as possible. He considers JavaScript the ultimate language and is constantly tinkering with how to push it further. If something can't be done in JavaScript or web technology, he's bored by it. He has a number of open-source projects, including LABjs, HandlebarJS/BikechainJS, and flXHR, and he also is a core contributor to SWFObject.

Welche anderen Artikel kaufen Kunden, nachdem sie diesen Artikel angesehen haben?


5.0 von 5 Sternen
5 Sterne
4 Sterne
3 Sterne
2 Sterne
1 Sterne
Siehe die Kundenrezension
Sagen Sie Ihre Meinung zu diesem Artikel


Format: Kindle Edition Verifizierter Kauf
Das erste Buch einer ganzen Serie über Javascript im Detail. Kyle Simpson nimmt sich in jedem Band ein Themengebiet vor und behandelt es erschöpfend. Auch für mich, der seit vielen Jahren Javascript im professionellen Umfeld benutzt, war das Buch sehr sehr lehrreich!

Wer Probelesen möchte kann das im offiziellen Github Repository der Buchserie tun: [...]

Dieses Buch ist jeden Cent wert und ich habe es gerne gekauft, um den Autor zu unterstützen!
Kommentar 3 von 3 haben dies hilfreich gefunden. War diese Rezension für Sie hilfreich? Ja Nein Feedback senden...
Vielen Dank für Ihr Feedback.
Wir konnten Ihre Stimmabgabe leider nicht speichern. Bitte erneut versuchen
Missbrauch melden

Die hilfreichsten Kundenrezensionen auf Amazon.com (beta)

Amazon.com: HASH(0x99c7fac8) von 5 Sternen 54 Rezensionen
14 von 14 Kunden fanden die folgende Rezension hilfreich
HASH(0x99935660) von 5 Sternen well written and understandable. 4. April 2014
Von Randal Kamradt - Veröffentlicht auf Amazon.com
Format: Kindle Edition Verifizierter Kauf
Not only does the author know what he's talking about, he knows how to communicate it. As a long time Java programmer, many of the aspects of JavaScript were mysterious and obtuse, or at least the way they were explained made them seem that way. Scope and Closure are two of those aspects and now they seem simple obvious artifacts of the functional nature of the JavaScript language. Now all the patterns that the other books demonstrate but don't bother to explain seem much more clear. I can look at the language with new eyes and new understanding. Highly recommended for anyone that needs an under-the-hood understanding of JavaScript and anyone that wants to side-swipe smug job interviewers that want to trip you up with manufactured mis-understandable code.
7 von 7 Kunden fanden die folgende Rezension hilfreich
HASH(0x999358ac) von 5 Sternen An intermediate-level book covering two essential topics that are not always well-understood by developers 8. Juli 2014
Von S. Tang - Veröffentlicht auf Amazon.com
Format: Taschenbuch
Note: I have the eBook version.

This book is like a UNIX command: it does one thing, and it does it well. The shortness of this book is one of its redeeming qualities, as it can be read rather quickly. Some people might like having a handy tome, but most of those tomes seem to be optimized for reference rather than straight reading. And if you have a physical book, those kind of tomes are heavy.

The book covers scope and closures, topics that are not always understood by JavaScript developers with working experience or developers coming from other languages. It's good that the book starts at an intermediate level and assumes you have basic JavaScript knowledge, so it does not have to cover syntax, loops, conditionals, objects, etc. If you are a beginner, stay away.

I didn't think the coverage of left-hand side and right-hand side in chapter 1 was relevant for the book, but that seems to be the only "extraneous" part of the book. The author created four appendix chapters to cover "extra" material.

The coverage of closures was particularly fascinating, because as the author pointed out, we've all seen closures, but we didn't know they were there in the code. The book has the BEST explanation of closures I have read yet. I think Kyle's explanation of closures even trumps John Resig's explanation of closures from his book, "Secrets of the Javascript Ninja."

Overall, I found the book easy to read, and it helped better my understanding of these two topics of JavaScript.
6 von 6 Kunden fanden die folgende Rezension hilfreich
HASH(0x99935aec) von 5 Sternen Good Explanations Minus Other Useful Good Explanations 10. August 2014
Von astericky - Veröffentlicht auf Amazon.com
Format: Taschenbuch
While this book attempts to demystify javascript scope and closures for javascript developers, it makes the topic mildly less mysterious. After reading this book, I think the explanation of both topics feels unfinished. I may go and re-read this book again. Its like The Good Parts without the immediately good even if controversial ideas in it.

The author rather than try to fit in a full discussion on scope and closures elects to put additional information into an appendix which takes the reader away from very relevant and related questions that would likely further the readers understanding of the subject matter without having to skip all over the place. Usually, I tend to think of an appendix as off topic, related and useful information rather than a way to artificially keep the chapters short.

LHS/RHS scope explanation feels out of place being located in the first few chapters of this book. (Note: On some level I understand the logic of it being here.) Somehow I feel like its a complex theoretical topic being thrown at you right away before you have a solid context. The author probably could be more successful with explaining LHS/RHS scope by starting with day to day scoping problems developers have with their code now. Instead it comes off as too theoretical too fast and if you are not already well versed on compiler theory you can get lost right at the beginning of the book.

The question becomes are we trying to explain scope to developers who do not understand scope or are we trying to sound smart to developers who probably already understand scope.

The other thing I think is lacking with this book's explanation of scope is this and passing scope around and executing functions in a scope outside of their own. Giving a full and in depth explanation if this is immediately useful in solving problems developers have everyday.

Lastly, the information on closures really only lasts for a chapter and then its really just a definition and showing off some common javascript patterns that closures rather than a full explanation of closures.

Ive read other reviews claiming the length is a plus but I feel like I would have liked those 20 pages they shaved off this book back. My review comes off as negative despite my 3.75 star review because I strongly feel like it could have been a 5 star book. There is great explanations in this book minus other great explanations that were left out of this book.
5 von 5 Kunden fanden die folgende Rezension hilfreich
HASH(0x99935e4c) von 5 Sternen Great book for sorting the finer parts of JS 5. Mai 2014
Von ER - Veröffentlicht auf Amazon.com
Format: Taschenbuch
Let me first start off by saying that I think this book is great! It is written very well and it seems as though Kyle is right beside you talking you through the book. The book is a short read and really attempts to focus on just a few parts of Javascript and explains them from multiple angles using code samples and just plain old explanation. What is great is that Kyle does not just rewrite what he read in another Javascript book/resource/documentation, trust me I read alot of books on programming including javascript and authors do paraphase(copy) other peoples explanations on topics and place it in their book. However Kyle, really put thought into explaining these topics from his own perspective that he thought would give his points the furthest reach.

Now with all the great things I have said about this book I have to give a word of caution. In my opinion I do not think this book is for someone absolutely new to Javascript. This book will more benefit you if you have read another introductory Javascript book(though they are much longer), tried out some Javascript code and scratch your head asking what the heck is going on with this Javascript code.

So in my opinion I would say if you are fresh to Javascript buy this book along with an introductory Javascript book. Make sure you keep this book on hand when you feel yourself with some question about scope and closures because trust me there is no one that has tried Javascript and not have questions regarding scope and closures and this book is top notch in the clarification of those topics.

I look foward to reading the other books in this series when they are released.
3 von 3 Kunden fanden die folgende Rezension hilfreich
HASH(0x99c88084) von 5 Sternen JavaScript - programming for the masses? 29. Oktober 2014
Von Ian K. - Veröffentlicht auf Amazon.com
Format: Taschenbuch Vine Kundenrezension eines kostenfreien Produkts ( Was ist das? )
"When Netscape hired Brendan Eich in April 1995, he was told that he had 10 days to create and produce a working prototype of a programming language that would run in Netscape’s browser" (Charles Severance, "JavaScript: Designing a Language in 10 Days", Computer, vol.45, no. 2, pp. 7-8, Feb. 2012)

I don't know how much JavaScript changed between then and now, but developing the language in such a short period of time was a remarkable achievement.

Brendan Eich writes on his blog that he was originally hired to implement Scheme (a version of Lisp) in the browser. It's fortunate that this idea was discarded, since its a near certainty that JavaScript would not be as popular if it were a variance of Lisp.

JavaScript does, however, include closures, which is a language feature that was pioneered in Lisp. Closures? What's a closure when it's at home? We'll you're in luck, there's Kyle Simpson's little book Scopes & Closures in the You don't know JS series that will clearly explain this concept.

I got a free copy of the O'Reilly book through the Vine Review program. The "You don't Know JS" series was, apparently funded by Kickstarter. These books are also available free on the Web. Amazon will not allow me to include a link, but if you do a search for "You don't know JS" you can find the GitHub repository where you can read it on-line.

I find technical books more difficult to reference in electronic form, so I tend to buy books like this in dead tree form.

JavaScript is probably the most accessible programming language in history. All you need is a web browser (which is installed on every computer connected to the Internet), an editor (on Windows there's Notepad++ or Bluefish on Linux) and something like Firebug (for Firefox) so you can see the console.log() output. All of this software is free and takes minutes to install (in the case of Notepad++ and Firebug).

With this free software, you can create a web page on your local disk that contains you JavaScript. Refresh the web page and you can see the result of your JavaScript program. That's all it takes.

The accessibility of JavaScript and the fact that it's used on web pages has made it a sort of language for the masses. People who have no background in computer science can start learning JavaScript.

The You Don't Know JS books seem to be written for these people. Kyle Simpson's Scopes & Closures consists of only 78 pages of technical content. This makes it a lot more readable than your average 300 page Java programming book. In explaining variable and function scope, Simpson starts out at a very basic level. He provides an overview of how the JavaScript compiler processes the JavaScript source to lay the foundation for the discussion on scope.

The discussion of scope is very clear and Simpson provides a lot of examples that illustrate each point he makes. The one point that I didn't see in the text is the issue of variables that are declared without a var prefix. For example:

(function foo() {
d = 42; // declare d in the global scope

console.log("d = " + d);

Here d will be declared in the global scope. If "d" were preceded by "var" it would be declared in the local scope and the console.log() reference to d would result in an undefined variable error.

The second topic that the book covers is "closures". Single page web applications (see "Single Page Web Applications" by Mikowski and Powell, 2014) make use of closures by enclosing the complex logic for a single page web application in one or more modules. Simpson provides some very clear examples of JavaScript modules. This was my favorite part of the book, which I will probably reference in the future.

There is another book that has been completed in this series: this & Object Prototypes that I plan to read as well.
Waren diese Rezensionen hilfreich? Wir wollen von Ihnen hören.