Website review: Better ways to writing JavaScript

meowzero meowzero discovered this in Programming 3 reviews since Dec 1, 2007
icon tagsprogramming dustindiaz.com/javascript-no-no/

Thumbs up People who like this website

quay42
Los Angeles
Saifinchicago
Marina
polvero
Mountain View
Dubhlainn
St Ann
jpcarver
Clarksville
meowzero
Atlanta
demet8
Orlando
dalon1294
Mt.airy
Goo-PC
Groveland
TagKeast
Bonn

StumbleUpon is the best way to discover great web sites, videos, photos, blogs and more - based on your interests. Everything is submitted and rated by the community. Discover, share and review the best of the web!

Thumbs up Reviews of this website

meowzero discovered 8 months ago
Great tips
polvero rated 8 months ago
> makes me not only cringe, but also wonder about the author Hi, I 'am' the author. Read the first sentence of the article - and you'll see that it's for beginners. What is it that you're wondering about? Does writing a JavaScript library and authoring a book not give any credibility? http://dedchain.dustindiaz.com http://jsdesignpatterns.com I agree, JavaScript is in fact a beautiful language, much more than you might know ;)
dirtbagbubble rated 8 months ago
JavaScript is such a nice language which is way more capable than these doubtful suggestions indicate. Replacing the clearly understandable method "document.getElementById" by a method simply called "get" makes me not only cringe, but also wonder about the author. "get" what? Horses, shoes? Function names must be descriptive or you're going to lose maintainability. Besides that, implementing these helper methods as prototype extensions to the Element object would be nicer than as standalone functions. That way you tie functionality to the appropriate scope.
This page is not affiliated with dustindiaz.com.