News for hackers. Stuff that matters.
Re:Fighting Rust's Expressive Type System by lostmsu on Monday October 26, 2020 @02:56AM (#24893456)
In C# and Python you can write an iterator using `yield` keyword. E.g.

   for(i in array) yield i
The language then transforms this into an implementation of the base iterator interface under the hood.

There are no comments on this comment yet.