May 19, 2006

On JavaScript and Poor Specs

Andrew DuPont, while helping to make users aware of a common JS mistake, penned these words:


JavaScript started with no specification, then received a poor specification, and I know few people who spend their free time reading specifications. Especially bad ones.


<raises hand> I read specs. While sometimes messing with specs turns into a waste of time. Many times understanding the spec can keep you out of trouble. The problem is that specs are tedious, but the reality is that they have to be. Nothing is worse than a poorly written spec.


Being patient and weeding thru specifications helps you understand not just how something is designed to work, but why. I used to read specs because i had to; now i read them because i want to… even the boring ones.


0 comments: