3 ms·
No. Being the first class element in the go language, channel is nothing different from a []byte or a regular struct. The whole purposes of having such built-i
by tw1984 3y ago
No. Being the first class element in the go language, channel is nothing different from a []byte or a regular struct.
The whole purposes of having such built-in channel as a part of the core language is to encourage everyone to use it whenever possible, the reason is dead simple - it is much less likely to shoot yourself in the foot.