Why make a language case sensitive?

Johann Hibschman johann at physics.berkeley.edu
Fri Jul 14 11:32:10 EDT 2000


Peter Timaratz writes:

> I can't think of any advantages to a case sensitive language. Python is a
> very well-designed language though, so I imagine there is a good reason that
> it is case sensitive. So what are the advantages of a case sensitive
> language?

The most obvious is that any identifiers that look different are
different.

"LIsT" and "list" look different, so my "principle of least surprise"
says that they should be different tokens.

But this has been a large debate recently, with opinions all over the
board.

-- 
Johann Hibschman                           johann at physics.berkeley.edu



More information about the Python-list mailing list