Kundenmeinungen
Neue Blickwinkel, selbst für Profis, 28. Juli 2008
Ich habe das Buch seit ein paar Wochen auf meinem Schreibtisch, und ich wurde regelrecht aus einem Dörnröschenschlaf geweckt. Ich bin seit vielen Jahren in der Webentwicklung tätig, doch nach der Lektüre des Buches vom Javascript-Guru Crockford kam ich mir erstmal wie ein blutiger Anfänger vor.Das Buch ist nicht für Anfänger gedacht und liefert auch keine Kochbuch-artigen Informationen oder Beispiele. Das Buch ist eine Sammlung goldener und strenger Regeln, wie man ordentliches Javascript schreibt. Es zeigt mögliche Fehlerquellen auf, an die ich vorher nie gedacht habe.Mein Vorrezensent bemängelt die Kürze des Buches. Ich finde, das Buch ist nicht zu kurz. Es bringt die Sachen klipp und klar auf den Punkt und genau dafür ist das Buch gedacht. Selbst für erfahrene JS-Entwickler wird es darin noch einiges zu entdecken geben und später als gutes Nachschlagewerk dienen. Ferner zeigt das Buch einige Unebenheiten bzw. Besonderheiten Javascripts auf, was für weitere Aha-Effekte sorgt.Ich bin von dem Buch hellhauf begeistert. Das Englische ist übrigens gut verständlich.
JavaScript Best Practices, 29. Juni 2008
At less than 150 pages this is a surprisingly short book, covering exclusively the language JavaScript itself, its "good parts" above all, but also its weaknesses. It intentionally doesn't cover client-side scripting, the DOM or Ajax. The density of ideas and authoritative treatment make it valuable for anyone interested in JavaScript code quality or the solid core concepts of the language, but the book leaves you at times wishing for more explanation.Writing bad code is easy in JavaScript, due to for example the way it encourages you to use global variables, or its confusing lack of block scope. JavaScript doesn't save you from yourself, so best practices, coding standards, patterns, and knowledge of the language's pitfalls are all the more important. This book brings all these together in one place, providing a solid foundation for writing high-quality code.The book's best parts are on first-order functions and prototypal inheritance, two areas where JavaScript shines. The book explains the various invocation patterns for function objects and ways of implementing inheritance, gradually building up a small library of functions to make implementing best practices in JavaScript clearer and easier. The book doesn't take time to explain background concepts, so you're expected to already know what inheritance, closure, currying and regular expressions are. The back of the book on the awful and merely bad parts of JavaScript is also useful, telling you what to avoid and explaining the reasoning behind what the code quality tool JSLint complains about. Crockford's advice and explanations are highly reliable. He's a well-known JavaScript expert, maintains an excellent resource on the language at javascript.crockford.com, and is the the mind behind JSON. But he uses the phrase "this is not a good part" without further explanation a bit too often. The treatment of the more challenging concepts and paradigms could have been longer and amplified with more examples. Nonetheless a book for anyone with a serious interest in writing high-quality JavaScript.
Geheimes JS Wissen, 7. Juni 2008
"JavaScript: The Good Parts" ist kein Buch für Anfänger. Zwar beginnt es mit der grundlegenden Grammatik der Sprache, doch schon bei den ersten Beispielen wird klar das es hier definitiv darum geht seine Kenntnisse in der Sprache zu perfektionieren. Nach etlichen Jahren mit der Sprache und vielen Büchern war ich beinahe schockiert wie viele Dinge ich noch nicht wusste.Besonders genial fand ich auch die "Rail Diagramme" (Schienendiagramme) mit denen Douglas alle möglichen Symbolkombinationen der Sprache erklärt. Weitere Anwendung finden Sie im Teil der sich mit regulären Ausdrücken beschäftigt und an sich schon fast den Kaufpreis wert ist.Anfänger - Finger weg. Fortgeschrittene - Kaufen, Kaufen!
|