| Share this post! | Vote this! |
|
JavaScript is a Gestalt language.
One's sentiment toward JavaScript flips between elegance and disgust without transiting intermediate states.
The key to seeing JavaScript as elegant is understanding its warts, and knowing how to avoid, work around or even exploit them.
Doug has a slightly different and more elaborate take on the bad parts and awful parts, so I'm sharing my perspective on the four issues that have caused me the most grief in the past:
how to fix broken block scope with with;
the four (not three!) meanings of this;
promoting arguments to an array; and
avoiding truthiness. More...





0 comments:
Post a Comment