Rob,

Using a for...in loop on an Array is bad practice / plain wrong (c.f.
http://www.andrewdupont.net/2006/05/18/javascript-associative-arrays-considered-harmful/).


I wouldn't call somewhat using it an ignorant... but the fact remains
that he ignores that arrays should not be iterated over that way.

Seriously, I don't see how you can call that a shortcomings of
Prototype.

regards,

Tobie


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Ruby on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to