Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
boloust
· 2y ago · 0 comments
Ironically, I once wrote a load balancer in Go that relied on the randomized map iteration ordering.
Comments
[–]
aleksi
2y ago
That is a bad idea:
https://dev.to/wallyqs/gos-map-iteration-order-is-not-that-r...
[–]
OskarS
2y ago
Man, you really can’t escape Hyrum’s Law ever! Now we have people depending on the iteration order being random!
[–]
dwattttt
2y ago
Clearly you need to randomly decide whether or not to randomise it.
[–]
ahoka
2y ago
That's why it's totally stupid to randomize it.