Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yes, and that's why Java and C# use pretty much this exact approach (without the acceleration part, to be fair) for their Iterator/IEnumerator that power their for-each loops.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: