3 ms·
> other popular languages which has channels as a core language feature That’s because other languages did not need channels as a core language features. Go d
by masklinn 4y ago
> other popular languages which has channels as a core language feature
That’s because other languages did not need channels as a core language features.
Go does for the same reasons it needs e.g. hashmaps or append as “core language features”: no generics.
As far as I could see, there was one cool thing Go brought to the table, and it’s select {}. That was (and still is, I think) pretty uncommon, though not unheard of (Erlang’s receive is similar, though it has different capabilities owing to different language semantics).