3 ms·
Of course they're different on that level of detail. In go, if you want programmable iteration behavior, you would create a channel that is fed values by a coro
by boomlinde 9y ago
Of course they're different on that level of detail. In go, if you want programmable iteration behavior, you would create a channel that is fed values by a coroutine. Then you can range over it. It's not a new type, but that distinction seems a bit picky.
What I am talking about is the static type system. You can't express that in Python, despite how much more convenient some of its features are.