3 ms·
I found it surprising that when critizing Go, no one hardly talked about Go's lack of a common iterator interface like Java's Iterator (let alone a more powerfu
by beltsazar 4y ago
I found it surprising that when critizing Go, no one hardly talked about Go's lack of a common iterator interface like Java's Iterator (let alone a more powerful generator like C#'s IEnumerable). This was partly due to the lack of generics back then. Now that we have generics, hopefully we can have it in Go soon.