Re: Interesting but ugly
"Everybody sane tries to spell identifiers with consistent capitalization anyway"
Consistent with what, exactly. Certainly not "everybody else".
UNIX consistently spells usernames all-lower-case, despite the fact that US culture (where it grew up) does not spell people's names that way. Some email systems are then case-sensitive and others are case-insensitive, and where an email address is used as a user handle there isn't even an RFC to point to for the right answer. The result is that you just have to know whether the system you are talking to wants:
or perhaps something else entirely.
You guys need to get out and talk to real users. A computer that rejects input because you didn't exactly replicate the case that it had in its little head is a "*&%ing stoopid computer written by a £$%-ing nerd who throws a hissy fit if he has a prime number of baked beans on his toast".
And as with addresses, so with files and so with variable names, because the underlying reference model for all of these is "names as they are written in normal language".