Comment by boloust
10 months ago
Ironically, I once wrote a load balancer in Go that relied on the randomized map iteration ordering.
10 months ago
Ironically, I once wrote a load balancer in Go that relied on the randomized map iteration ordering.
That is a bad idea: https://dev.to/wallyqs/gos-map-iteration-order-is-not-that-r...
Man, you really can’t escape Hyrum’s Law ever! Now we have people depending on the iteration order being random!
Clearly you need to randomly decide whether or not to randomise it.
That's why it's totally stupid to randomize it.