Case distinction in var names

Henry Spencer henry at utzoo.UUCP
Sun Nov 4 10:37:01 AEST 1984


This is a problem with the customer, not the language.  A programmer
who names two different variables "foo" and "Foo" should be fired at
once, for incompetence.  [The same applies if he names two different
programs "mail" and "Mail".  Grrr.]

When the two names are "foo" and "FOO", the situation is not so clear.
These two usages normally are *not* interchangeable in English, and
one can argue that they should be considered to be distinct.
-- 
				Henry Spencer @ U of Toronto Zoology
				{allegra,ihnp4,linus,decvax}!utzoo!henry



More information about the Comp.lang.c mailing list