Sorting it all Out Michael Kaplan's random stuff of dubious value Be sure to read the disclaimer here first!
About a week ago I was talking about The problem with using ordinal (a.k.a. lexicographic, a.k.a. binary) type comparisons and I mentioned that I talk about it a bit tomorrow.
Well, it was one of those newfangled tomorrows that happen about a week later.... :-)
One of the alternate ideas that has been really popular in one developer's mind (I won't say who!) is the notion of doing a regular linguistic comparison, and then if the two strings are equal doing a binary comparison in order to tell the two apart, like maybe comparing their code points.
Anyone care to venture a guess why that might be a bad idea?
And then as a bonus how that wrong answer can perhaps lead toward an answer that is better than the wrong one and also better than the current one?
I'll talk more about this tomorrow -- the old fashioned kind of tomorrow that is just 24 hours away!
This post brought to you by ؟ (U+061f, a.k.a. ARABIC QUESTION MARK)
OK, I previously talked about the problem with Ordinal comparisons and one of the more uncool suggested