Why People are Angry over Go 1.23 Iterators.
NOTE: This is based on, but completely rewritten, from a Twitter post: x.com
TL;DR It makes Go feel too “functional” rather than being an unabashed imperative language.
I recently saw a post on Twitter showing the upcoming Go iterator design for Go 1.23 (August 2024). From what I can gather, many people seem to dislike the design. I wanted to give my thoughts on it as a language designer.
The merged PR for the proposal can be found here: https://github.
Read in full here:
This thread was posted by one of our members via one of our news source trackers.