PEP308: Yet another syntax proposal
Anders J. Munch
andersjm at inbound.dk
Mon Feb 10 22:39:48 CET 2003
"Andrew Dalke" <adalke at mindspring.com> skrev i en meddelelse
> Because short-circuiting isn't needed often (perhaps 1 in 5,000
> lines of code) so it isn't useful to make yet another language
> construct, with all the difficulties in parsing, interpretation, etc.,
> when the vast majority of cases (perhaps 1 in 400 lines) can
> be handled with a simple function that introduces no new
> ideas to the language.
Short-circuiting was useful in the other 99.2% also: It relieved the
programmer from having to consider whether redundantly evaluating the
unused case would be ok.
More information about the Python-list