Check out Dart's iterators

Alex Russell slightlyoff at
Sun Feb 10 04:21:22 PST 2013

FWIW, there continue to be strong misgivings about the pythonesqe design we
have now, but Mozilla insists on the back of their shipping implementation.
Many feel that exceptions for control-flow are a missdesign, myself
included, but at this point the ship us nearly past the lighthouse on its
way to sea and the effort involved in recalling it not worth the pain.

On Feb 10, 2013 8:26 AM, "Domenic Denicola" <domenic at>

> > -----Original Message-----
> > From: Brendan Eich [mailto:brendan at]
> > Sent: Sunday, February 10, 2013 03:20
> > Changing from hasMore/getNext to current/moveNext does not eliminate two
> methods that can get out of sync. You can imagine one is a property, not a
> method, but the general case is a getter or C#-style Current method.
> Ah, the fact that it could be a getter does reduce it to the original
> two-out-of-sync-methods case, right. Thanks!
> _______________________________________________
> es-discuss mailing list
> es-discuss at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list