Always close iterators?

Axel Rauschmayer axel at rauschma.de
Thu Mar 26 01:39:33 UTC 2015


>> Given that redundant calls to `return()` don’t make a difference (h/t Bergi)
> 
> I'm sorry, that was not 100% accurate.

Right, ignore that part of my email. My main argument is: “wouldn’t the iteration protocol be simpler if iterators were always closed (versus only if iteration finishes abruptly)?”

-- 
Dr. Axel Rauschmayer
axel at rauschma.de
rauschma.de



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20150326/808ca668/attachment.html>


More information about the es-discuss mailing list