I mean Tesla cars are just x86 Linux machines
I mean Tesla cars are just x86 Linux machines
No harm intended but if you are reaching a conclusion that such a feature is not needed without going into more detail than “harm” can go the other way as well.
Sorry I didn’t link the discussion as I was on my phone and no partonization was intended.
Article is missing a lot of keys points. With iterator you can chain them together to provide even higher level abstractions.
There are plenty of containers (new maps with different algorithms like a BtreeMap, linked lists, etc) that now with generics could also use a generic way of iterating over them.
There was a pre-proposal discussion that went into a lot of detail of what is possible that wasn’t intended the release notes. I highly suggest the writer of this article dig much deeper into more benefits of iterators than the two trivial options that were included in the experiment description.
I want this but without learning a new functional language to do it.