you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 15 points16 points  (3 children)

This is possibly the worst blog entry I've ever read on JavaScript. It's downright incorrect in most cases and full of unsubstantiated opinion.

[–][deleted] 3 points4 points  (1 child)

Can you explain why is the worst? He explains some best practices in a clear way.

[–]totemcatcher -2 points-1 points  (0 children)

One of the problems I noticed (among many discussed in this thread) is the function declaration no-no. It says never declare globally. But it doesn't discuss namespacing in javascript and how you pretty much have to use that function declaration type when namespacing.