dsimcha Wrote: > Have you ever seen this issue come up in practice in a real program? I'd be > hesitant to add even a small amount of complexity and restrictions to a > language > to prevent some class of bugs that's only a theoretical possibility and almost > never occurs in real-world code.
It's more like I haven't seen an example where keeping the values sorted would do damage. But OK, the other replies feature such examples, so there's reason to maintain the status quo.