Discussion on:

Message 8 of 8
1 Vote
+ -
This article is WRONG!
WRONG! I am a senior UX developer at monster.com. I have a great deal of understanding of JavaScript, and I can tell you that this article is dead wrong. In general, the only time to use eval is when consuming JSON data - other than that it's slower, less secure, less elegant, harder to debug, etc than other methods - OF WHICH THERE ARE! This author doesn't know JavaScript very well, obviously - the "ListingA" vs "ListingB" code samples is a joke. I could write ListingA to be just as short as ListingB by using hash-map syntax eg form["fieldID"] or document.getElementById w/ ids generated from the index. This article is bunk - disregard.
Posted by alundgren04
7th Dec 2009