Hacker News new | past | comments | ask | show | jobs | submit login

> If you promise randomization

You don't. You say the order is undefined.






That isn't the point. In practice, if you provide randomness, it will be depended upon.

Why is that? Is that just bad coding habits?

All of this is bad coding habits. That's why we're here.

You can randomly not randomise it :)



Consider applying for YC's Summer 2025 batch! Applications are open till May 13

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: