Real World Data Causes Perl

Posted

The title was Blake Winton’s reaction to my re-telling of Margaret Menzin’s story from this year’s “It Seemed Like a Good Idea at the Time” session at SIGCSE. She asked her students to write a program that would sort names in library order (i.e., “Gregory V. Wilson” would be sorted under “W”). Turns out the rules are, well, real-world-ish:

Oh, and if you have names written in multiple languages? You sort the languages first, according to their names in English, then sort within each language using its own rules. And we haven’t even started on:

Later: the indefatigable Adam Goucher pointed me at NACO, who decide such things. Real world data is guilty of a lot more than Perl…