JavaScript Guru Douglas Crockford famously said “JavaScript is the only language people feel like they don’t need to use.” A quote that will surely provide a laugh, but it’s funny because it’s true. What furthers this sentiment is that JavaScript frameworks like jQuery have turned JavaScript into a language different than what it truly is, and has made client-side coding so easy that there’s sometimes no need to really learn JavaScript. Anyone worth their salt, however, knows that in order to expertly and efficiently use any tool, you have to start with the basics.That’s where JavaScript Enlightenment comes in. JavaScript Enlightenment is an outstanding book by Cody Lindley, one of several members of the jQuery team. I’ll let book’s description speak for itself:This book is not about JavaScript design patterns or implementing an object-oriented paradigm with JavaScript code. It was not written to distinguish the good features of the JavaScript language from the bad. It is not meant to be a complete reference guide. It is not targeted at people new to programming or those completely new to JavaScript. Nor is this a cookbook of JavaScript recipes. Those books have been written. It was my intention to write a book to give the reader an accurate JavaScript worldview through an examination of native JavaScript objects and supporting nuances: complex values, primitive values, scope, inheritance, the head object, etc. I intend this book to be a short and digestible summary of the ECMA-262, Edition 3 specification, focused on the nature of objects in JavaScript.In short, JavaScript Enlightment takes JavaScript back to its basics. The chapter summary is really drives that point home:
- Constructing Objects
- Working with Objects and Properties
- Object()
- Function()
- The Head/Global Object
- The this Keyword
- Scope and Closures
- Prototype Property
- Array()
- String()
- Number()
- Boolean()
- Null
- Undefined
- Math Function
There are a couple of things I really enjoyed about Cody’s writing style:
- Many authors write in a way to reinforce that they’re the smartest guy in the room. What people like them don’t understand is that eager-to-learn developers have already bought the book: they trust that you’re the expert, so you don’t have to use advanced verbiage to look intelligent. Cody skips that ego-centric exercise, explain JavaScript concepts in Leyman’s terms.
- Each section covers one JavaScript object/concept, so the book is very focused. Too often development books bleed into and out of topics without true explanation.
- Lindley’s book is packed full of code examples; if you’re anything like me, code examples tell you as much if not more than plan text. Every person has their own style of leaning, but there’s nothing like a solid code example you can play around with.
The books itself, when it comes to topics covered, is great for beginners and intermediates a like; there’s a lot of learning and reinforcing of core JavaScript concepts. Each code snippet provides a link to a working version of the code, which comes in handy if you want to quickly tinker with such code. Lastly, there’s plenty of personality in Lindley’s book; it’s not simply a reference to flick through — designers and developers will enjoy reading JavaScript Enlightenment.Cody Lindley’s JavaScript Enlightenment is an essential resource for any designer or developer looking to to understand JavaScript at its core, regardless of skill level or JavaScript framework. Lindley’s ability to explain key JavaScript concepts with realistic, useful code examples is what really makes JavaScript Enlightenment shine. Don’t be a slave to your JavaScript framework, because copy’n'paste is no way to go through a development life! Get enlightened by JavaScript Enlightenment!JavaScript Enlightenment by Cody Lindley is a post from: David Walsh :: Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.
Read »





