Everything2
Near Matches
Ignore Exact
Full Text
Everything2

case sensitivity in computing

created by rp

(idea) by rp (4.4 d) (print)   ?   1 C! I like it! Tue Jan 16 2001 at 14:12:23

Case sensitivity in computing is a display case for human sensitivity for case. It demonstrates the human tendency to establish conventions wherever possible.

Case sensitive computer keyboards and printers only became popular in the 70s. The reason FORTRAN, COBOL, BASIC and all programs written in it are in ALL CAPS is because that's all the computer offered at the time. When lower case letters became available, popular computing environments such as IBM System/370, VAX/VMS remained case insensitive; case sensitivity would break software compatibility and the mindset of their user base. Lower case was reserved for use in text for human consumption. IBM even maintained this approach on a completely new platform, the IBM PC.

It took different environments to break away from the upper case. Unix, designed in 1970, was case sensitive from the start. Programming languages such as Pascal, C, and Prolog, also created in 1970, used mixed case. But even in case sensitive environments, the use of case is mostly free. What is interesting about this freedom is that users will quickly adopt very rigid conventions on the use of case, even when no person and no software is telling them to.

Some examples.

  • Unix has a very strong tradition of lower case. Filenames are expected to be lower case. Many users adopt the convention of first-capital or all-capital directory names. I may respect such users, but I will not respect their use of Unix. There is abolutely no rational reason behind my feeling; it just "doesn't belong". Users or user apps do not enforce it in any way. Environment variables, however, are in all caps. The personal mailfolder is named ~/Mail. Command line flags can be capitalized when the same lower case character is already in use. In all, I think you could write a 10-page 'Unix capitalization style guide' to describe all the conventions; very few of them would be enforced or even mentioned to users.
  • C follows the lower case tradition of Unix, but it tends to use longer identifiers, often consisting of multiple words. The convention is to separate these with an underscore. All-capitals are reserved for preprocessor constants, such as NULL. Mixed case is not used at all. Nothing in C processing software enforces these conventions.
  • Pascal has a mixed case tradition; in particular, multi-word identifiers are concatenated with capitalization of each first letter. A C program containing the identifier NumberOfConventions is 100% valid C, and 99% certain to be the work of a Pascal programmer.
  • troff, TeX and LaTeX show their Unix heritage by using lowercase-only keywords; HTML and XML show their SGML affiliation, and SGML its IBM origins, by using all-uppercase keywords. By convention. No self-respecting SGML user would be caught dead writing <a href="">, although it is perfectly valid HTML.

I could go on and on, but you get the idea: mixed case is in computer land what accents and taste are in 'real life': a way for users to identify origins and communities in what they see, and to express their own position - mostly subconsciously.


printable version
chaos

Canonical form CamelCase EARN/Bitnet Unix
Mars Polar Lander case sensitivity case study
Y'know, if you log in, you can write something here, or contact authors directly on the site. Create a New User if you don't already have an account.
  Epicenter
Login
Password

password reminder
register

Everything2 Help

Cool Staff Picks
Things you could have written:
Letter from a Newbie to an Old Master
Pilots' Jargon
I don't want to fall so easily
Gun safety
THE RABIES GHOST
Titus Andronicus
How to find out if ANY number is divisible by eleven
Meal, ready to eat
Leyden jar
coalition of the willing
Indeterminacy
Darkroom
Which way should you move your brush when doing Japanese calligraphy?
New Writeups
aneurin
British Monomarks(idea)
FrankThomas
How and why do we (humans) have culture?(essay)
lee_cad
Isaac(person)
kalen
downvota(poetry)
Andrew Aguecheek
Wstfgl(thing)
ncc05
overheard at IHOP(event)
calgon
Bottomless(poetry)
lismaraxt
Ice Theory of The Origin of Life(idea)
allthetime
Apple Cinnamon Suicide(idea)
Lucy-S
shovelglove(idea)
Adaptive Child
Mexican secret sauce(recipe)
Adaptive Child
nacho libre(recipe)
TheLady
Iron Man(review)
Scaevola
Risk in the Roman law of sale(idea)
semicolon
overheard at IHOP(event)
This affordable entertainment brought to you by The Everything Development Company