3 ms·
this breaks select to send and is a terrible reduction in capability. you can always wrap channels to make them worse and less capable, but your API should exp
by foobiekr 3y ago
this breaks select to send and is a terrible reduction in capability.
you can always wrap channels to make them worse and less capable, but your API should expose the more capable option.
- __turbobrew__ 3y agoI think it is a matter of preference. For me personally I use raw channels and goroutines all day every day and I really like using them. Channels are a core primitive in golang so I think it is worth getting familiar with them. As you say being able to select is really nice too.