I know from some years ago that go did not have any priority or ordered select construct [1].
The idea is that select always is a nondeterministic choice operator, if this is still so. Implemented with a random, I assume. Programming user defined "fair" algorithms or patterns is then not possible, I believe. Is this still so in Go? No prioritised or ordered select in go? But is there still a way to code this by f.ex. combining several selects? I saw a different take at this at [2], where the select is replaced a single chan containing a chan bundle, thus becoming "deterministic". [1] Blog note Nondeterminism <https://www.teigfam.net/oyvind/home/technology/049-nondeterminism/> (disclaimer: no ads, no gifts, only fun and expenses) [2] “A pattern for overcoming non-determinism of Golang select statement <https://medium.com/@pedram.esmaeeli/a-pattern-for-overcoming-non-determinism-of-golang-select-statement-139dbe93db98> (3May2019) by Pedram Hajesmaeeli -- 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/acd2005d-afc7-4cfd-952d-bc2548ea9d41n%40googlegroups.com.