Comment #36 on issue 164 by timdown: Wrong order in Object properties
interation
http://code.google.com/p/v8/issues/detail?id=164
Charles et al,
Fair enough. We've all made our points and been understood. Some final
observations:
1. I agree that it would be preferable for there to be a standard in place
for the iteration order of object properties, and I understand the benefits
in terms of code expressiveness and performance.
2. Pressuring an individual browser developer to implement a de facto
standard that doesn't even seem to fully exist (see earlier discussion of
for...in behaviour for Arrays) seems inappropriate.
3. Programming to an assumed ordering that is not universally adopted is a
poor idea in an area (browser scripting) that is already notoriously quirky
and volatile. Wishing something does not make it so. Lobby the ECMAScript
decision makers. In the meantime, live with it.
Finally, regarding Charles's example, a UI with several drop-down lists
each with thousands of options doesn't sound very user-friendly.
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev