Case-sensitivity: why -- or why not?

Thomas Malik 340083143317-0001 at t-online.de
Sun May 28 14:26:09 EDT 2000


> For (4),
>
> (first, an analogy)
> You've mentioned that one of the reasons for Python's asbence of
> curly braces is that it limits the amount programmer conventions; for
> example, in Python the following would never be an issue:
>
>    int func( ) { }
>
>    int func( ) {
>    }
>
>    int func( )
>    {
>    }
>
> (this inconsistency tends to drive me nuts for large C functions).
>
> Python's elimination of braces does away with this. In other words, Python
> restricts the programmer, and in doing so, yields more readable code
> (it narrows down the quantity of disparate styles and conventions we use).
>
> If Python were made case-insensitive, wouldn't that lead to more
> irregular programming conventions?  I would rather introduce a restricted
set
> of conventions so that the student wouldn't go on fragmenting
> from the norm and developing their own style.  That's one more
> style that I have to get used to when I read their code.

very good point! Maybe guido never had to deal with code written by
programmers from external companies ...






More information about the Python-list mailing list