Y
Hacker News
new
|
ask
|
show
|
jobs
by
boloust
741 days ago
Ironically, I once wrote a load balancer in Go that relied on the randomized map iteration ordering.
2 comments
aleksi
741 days ago
That is a bad idea:
https://dev.to/wallyqs/gos-map-iteration-order-is-not-that-r...
link
OskarS
741 days ago
Man, you really can’t escape Hyrum’s Law ever! Now we have people depending on the iteration order being random!
link
dwattttt
740 days ago
Clearly you need to randomly decide whether or not to randomise it.
link
ahoka
741 days ago
That's why it's totally stupid to randomize it.
link