tapirl 7 days ago

Be careful there are bugs and design flaws in Go iterators: https://go101.org/blog/2025-03-15-some-facts-about-iterators...

1
jub0bs 7 days ago

Your post does show that iterators are somewhat of a leaky abstraction, but I'm not sure I would go as far as calling some of their infelicities "bugs". Whether those infelicities matter in practice is a moot point.

tapirl 7 days ago
jub0bs 6 days ago

Ok, that is annoying. I hope it gets fixed soon.