News for hackers. Stuff that matters.
Re:Iterator patterns in Go by pjmlp on Sunday September 08, 2013 @01:30AM (#6347926)
You forgot that in your examples, foreach loops are rewritten by the compiler into code that makes use of iterators.

So you at least need to write them for your own data structures so that the code knows how to navigate them.

But yeah, Go still needs a few improvements to be usable as a language for generic programming.

There are no comments on this comment yet.