Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That argument cuts both ways. You don't know when the benefits of random will be there...

As soon as you do something that cares about order, state how it is derived. Sometimes, insertion order is right. Sometimes, not.

Don't get me wrong alists are nice. And order def matters to those. But it is part of their definition. And reinsertion changes the order in obvious ways. Not even clear what it does to just "dict".

Now, I will concede this is overblown. Life will easily go on.



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

Search: