How Go's select Picks a Random Ready Case (and Why the Order Is Random)
Go’s select randomises the order it polls cases in, takes the first ready one, and only then falls back to parking on every channel at once.
Go’s select randomises the order it polls cases in, takes the first ready one, and only then falls back to parking on every channel at once.