PEP 308: more and more...

Alex A. Naanou alex_nanou at pochtamt.ru
Thu Feb 27 17:12:29 EST 2003


I like it the way it is!!
that is:
---cut---

x = 'spam' and 'foo' and [] or True and 'False'  # over-did it a bit
:)

---uncut---

in my opinion there is no reason to overload the syntax of a language
(especially one like Python), with the sole benefit of having to type
more letters to do the same job, and confuse people by doing the same
thing with different syntax in one language...
...
I agree that something like:

  x = if that is True then do this and that else forget all and None

is a bit over the hill...
  I know of a language that looks like this, and I can't say I like
it... ;)




More information about the Python-list mailing list