5 ms·
I guess you'll be upset then that I, personally, was for it using Exceptions, because Generators are Iterators.
by TazeTSchnitzel 14y ago
I guess you'll be upset then that I, personally, was for it using Exceptions, because Generators are Iterators.
- mappu 14y agoIt's a sensible choice and i understand the reason for it being this way. It does seem like it's exposing an implementation detail, though, and out of the rest of the core language syntax, nothing else throws an exception. I'm happy to see the feature, but this is one of those quirks that, in another five years, will end up in the next "A Fractal Of Bad Design" blog post.