[Python-Dev] PEP 308: "then" "else" for deprecating "and" "or" side effects

Erik Max Francis max at alcyone.com
Fri Feb 14 19:18:33 EST 2003


Stephen Horne wrote:

> I disagree with this. It sounds like the old 'sufficiency' argument -
> for example "you shouldn't have a subtract operator because addition
> and negation are sufficient".
> 
> What makes mathematics powerful is not the same as what makes complex
> programs readable and maintainable. If you ask the average person
> which they are least able to follow, they will typically say algebra
> or calculus rather than English for instance.

Indeed.  All control structures can be boiled down to just one with
sufficient expressivity, or even just labels and gotos.  That doesn't
mean that's a wise way to proceed in a high-level language.

-- 
 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, USA / 37 20 N 121 53 W / &tSftDotIotE
/  \ You win the victory when you yield to friends.
\__/ Sophocles
    Bosskey.net: Quake III Arena / http://www.bosskey.net/q3a/
 A personal guide to Quake III Arena.




More information about the Python-list mailing list