FWIW: I like that you can expressly opt in to ordered iteration in Java, by 
using LinkedHashSet (which is a subclass of HashSet which implements the 
interface Set):
http://docs.oracle.com/javase/6/docs/api/java/util/LinkedHashSet.html


On Feb 15, 2012, at 4:32 , John Tamplin wrote:

> On Tue, Feb 14, 2012 at 10:13 PM, Brendan Eich <bren...@mozilla.org> wrote:
> Is this comparable with JS? Interop on the web is a harsh mistress. The 
> C-Python vs. IronPython vs. PyPy vs. etc. situation is more of a "porting 
> model" with one-way forks.
> 
> Java seems comparable, in that compiled code is expected to run on different 
> JVMs.  I'm not aware of any Java code that relies on a particular iteration 
> order where it is unspecified in the API.
> 
> -- 
> John A. Tamplin
> Software Engineer (GWT), Google
> _______________________________________________
> es-discuss mailing list
> es-discuss@mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss

-- 
Dr. Axel Rauschmayer
a...@rauschma.de

home: rauschma.de
twitter: twitter.com/rauschma
blog: 2ality.com

_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to