Digital Web Magazine

The web professional's online magazine of choice.

Review: Pro JavaScript Design Patterns : Comments

By Tiff Fehr

January 14, 2008

Comments

Dustin Diaz

January 15, 2008 3:03 AM

Tiff, very, very, very well written. Ross and I couldn’t have reviewed our own book any better. I’m glad you took the time to read through it and write such a detailed explanation of what the book is all about. This was definitely spot on and we both greatly appreciate your kind words in this review.

Best,
Dustin

Steve

January 17, 2008 10:40 AM

Sounds like a book that I might have to check out. Thanks for the review.

Peter Yee

February 1, 2008 8:56 PM

Javascript is a functional and not OO language. A lot of folks coming over from the server-side will to try implement OO patterns, inheritance, and multitude of abstract classes.

When you add all these OO layering, it creates complexity, slow execution, hard to trace errors, and even extend development time!

In my opinion, JQuery has the better use and approach to JS libraries than Prototype. I bring this up because each library has contrasting approaches.

Even Peter Paul Koch of quirksmode.org prefer just writing simple functions over any OO Libraries out there.

Dustin Diaz

February 5, 2008 12:01 AM

Peter,
it’s comments like yours that misrepresent JavaScript. If you even took a peak behind what drives jQuery, you’d see that it’s completely written with an object oriented design.

Regarding PPK, despite his brilliance and my own love for his work, most of his JavaScript has been written for small independent websites, not necessarily for full blown web applications like GMail, Docs and Spreadsheets. Had he needed to plan for building a web app, you’d probably see a shift in his own style.

Saying something like “Javascript is a functional and not OO language” is a complete ignorant statement. The fact is, it’s both ;)

Peter Yee

February 7, 2008 12:21 PM

I should be more clear in saying Javascript is not a class-based OO language like Java/C but a prototype-based object language.

ltjnjauta

November 26, 2008 5:21 PM

25d7m3 <a href=“http://ksvaisbqdbsb.com/”>ksvaisbqdbsb</a>, [url=http://lgdqyafyefuk.com/]lgdqyafyefuk[/url], [link=http://sncpxvpatkbv.com/]sncpxvpatkbv[/link], http://ldrgkmhtmzpc.com/

Sorry, comments are closed.

Media Temple

via Ad Packs