- Regular expressions
- Beautiful features
Most helpful customer reviews
598 of 611 people found the following review helpful.
By Frodo Baggins
Do you find the syntax to be non-intuitive and frustrating?
Do you know the difference between using a function as an object vs using an object literal?
Do you know how using object literals can simplify your code and create something similar to namespaces?
Do you know how to augment the type system -- for example, if wanted all strings to have a trim() method?
Do you know why the "new" statement is so dangerous? Do you know an alternative that eliminates the use of "new" entirely?
These are some of the topics that the book touches upon.
You might ask "Isn't this stuff already covered in other books that I have?" The answer is no. For one, most other books use a psuedo-classical coding style (see below) to explain objects that is a source of confusion.
There are a series of Yahoo! videos by Crockford that mirror the material in this book and can be found as podcasts under YUI Theater. They contain nearly all of the material in the book and probably a little more. Those videos are:
- Douglas Crockford/An Inconvenient API: The Theory of the DOM (3 parts)
10 of 10 people found the following review helpful.
Classic JS book that every JS dev should read and reread.
This is one of the classic JS books that every JS developer should read.. and read multiple times. personally I think Ive read it about 4 times. There are lots of reviews on this book and just as many opinions about it. Regardless of all of those, you have to give Crockford the credit for helping to take JS to a new level that most JS devs were not thinking about at the time of its writing. There is a lot of "cowboy" coding in the JS world and this book was one of the first successful books to start defining *best practices* for JS coders. You will find the influence of this book in many other resources and software tools and undoubtedly tech discussions that you get in. The book is opinionated on some things and I get it that this bothers some people. If it bothers you then I say, "Have the sense of a cow... eat the hay and leave the sticks"... then read it again in a year and see if your opinion changes. Definitely a MUST READ for any JS dev.
5 of 5 people found the following review helpful.
See all 568 customer reviews...
For me this book is perfect. I have a lot of experience developing production ...
For me this book is perfect.
This book is NOT for beginners to programming.
This book is very opinionated on what the core language constructs are and how to use them and avoid the other parts.
Also, you can find Crockford on youtube quite easily. I went through his excellent series here: https://www.youtube.com/watch?v=JxAXlJEmNMg&list=PL7664379246A246CB
Update: Note: I have purchased 3 O'Reilly books in the last couple of months. Each one of them has literally fallen apart. I will be reading a page and the page will come out of the binding. I am fairly gentle on the books so I think there is a binding problem at O'Reilly.