Proposed PEP for a Conditional Expression
Erik Max Francis
max at alcyone.com
Thu Sep 13 01:53:54 EDT 2001
thp at cs.ucr.edu wrote:
> C syntax does overload the already heavily used colon.
The colon isn't used all that much in C. It's used in labels and
switch...case statements, the conditional operator, and bitfields.
> Perhaps it
> would be better to use semicolon instead of colon.
The colon is too overloaded in C, but the semicolon isn't? At least one
semicolon appears in every C statement.
--
Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
__ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
/ \ There are countless planets, like many island Earths ...
\__/ Konstantin Tsiolkovsky
REALpolitik / http://www.realpolitik.com/
Get your own customized newsfeed online in realtime ... for free!
More information about the Python-list
mailing list