Boolean tests [was Re: Attack a sacred Python Cow]
Ethan Furman
ethan at stoneleaf.us
Thu Jul 31 00:26:10 EDT 2008
Russ P. wrote:
[snippers]
> The reason I wrote that "it would be nice to be able to write"
>
> if x is not empty:
>
> is that it reads naturally.
[and more snippers]
Reads naturally? For whom? "Readability counts" does not mean "make it
sound like english as much as possible". There are good reasons for not
having computer languages written in human language. If that's really
what you want, go join Dave Parker and Flaming Thunder. Or write that
preprocessor that someone keeps yammering about and have it take code
the way you want to write it and convert it to actual Python. Would be
an interesting experiment, anyway.
~Ethan~
More information about the Python-list
mailing list