>
>
> And not only that, it's complicated.  The language spec is not the 
> right place to dig into the complexities of how to use select safely 
> while avoiding race conditions.  There is just too much to say.  And 
> there are no docs for select other than the language spec. 
>
>
Well here's the real problem. This should be in the docs for select, and 
not in the language spec. A language spec defines the rules, and doesn't 
talk much about their consequences or usage of the features. So I agree it 
can't go into the language spec, but I don't think the solution is to 
banish this kind of thing from the official documentation either.

First step's first, we'd need something like a practitioner's handbook, or 
Go programming guidelines where the select feature is discussed before we 
could add this to the docs. I think that's worthwhile, but not my fight. 
I'll relegate this to a blog post instead.

Cheers,
Dan

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/9ef49f11-38cf-413e-b23c-95f8b4244e91%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to