The technical systems that I use and respect are almost exclusively case-sensitive: be it OS or programming language or anything else.
The exceptions I could think of right now is the HTML tags and some implementations of SQL, and the Ada programming language.
Even in those cases, I think there are strong tendencies to actually write HTML tags in lowercase, and the SQL query semantics in uppercase (and parameters capitalized). (Correct me if I'm wrong.) As for Ada, the Emacs mode will correct you if you for example type a lowercase procedure name, although that won't matter when compiling. So, even when there is case-insensitiveness, it seems people agree it's a bad idea.
The reason is that you get much more expressive power with case-sensitiveness. Not only quantitatively - CD
is one, but CD
, Cd
, cD
, and cd
are four - but more importantly, you can express purpose, emphasis, etc. using upper- and lowercase sensibly; also, when programming, you'll enhance readability.
Intuitively, it is clear that you don't read hi
and HI
the same way!
But, to give you a computer world example, in the programming language Ada (from the 1980s), the first line of a procedure code block could look like this:
procedure body P(SCB : in out Semaphore_Control_Block) is
as you see, the procedure and parameter names are capitalized, as are datatypes, everything else is lowercase. Also note that the "all uppercase" parameter name tells us that it is an acronym. Now, compare this to
procedure body p(scb : in out semaphore_control_block) is
This is possible, as Ada is case-insensitive (or, to be exact, the compiler will change it to the way in my first example, but of course won't change your code). Or, how about:
PROCedure body P(Scb : IN Out semaphore_CONTROL_BLOCK) iS
That one is a bit ridiculous, I know; but someone would be stupid enough to write it that way (well, perhaps not). Point is, a case sensitive system will not only force people to be consistent, they will also be helped by it (readability) and use it to their advantage (the acronym example above).
stty iuclc olcuc
if you feel like having a case insensitive terminal ;-) – Stéphane Chazelas Jan 05 '13 at 17:07