3 ms·
> We do not use channels to increment a shared number, because that's ridiculous and the author is disingenuous in their contrived example. No serious Go shop i
by chuckadams 2y ago
> We do not use channels to increment a shared number, because that's ridiculous and the author is disingenuous in their contrived example. No serious Go shop is using a channel for that.
Talk about knocking down strawmen: it's a stand-in for shared state, and understanding that should be a minimum bar for serious discussion.
- franticgecko3 2y agoAnd implying I don't understand toy examples and responding with this is apparently above the bar for serious discussion.
- deleted 2y ago[deleted]
- pdimitar 2y agoDude. Criticizing a contrived example that is never used in production code is a very fair game. You didn't need to go all "but actually!" here.