How much is set in stone?

Tim Hammerquist tim at vegeta.ath.cx
Mon Nov 12 23:07:25 EST 2001


Nicholas FitzRoy-Dale <wzdd at lardcave.net> graced us by uttering:
[ snip ]
> Good point! Based on that, here is my Python "Enhancement" proposal:
> 
> Let's make it so that placing "option disturbing" at the start of a
> module turns on "C Mode". In this mode, Python's behaviour would be
> modified in the following ways:
> 
> 	* Use of curly braces to delineate syntax blocks, rather than
> 	  indentation;
> 	* The C ternary operator would be fully supported, as would
> 	  fall-through "switch" statements (as long as the type being
> 	  switch()ed is some kind of number, of course);
> 	* Class support would be removed, but everyone knows all you
> 	  need is support for struct{} anyway. Structs could only
> 	  contain the types "IntType", "FloatType" and "StringType",
> 	  but when you get down to it it's all numbers anyway;
> 	* We'd finally get our beloved "goto" statement.
> 
> Fortunately, none of this will affect the "Python-ness" of the language
> - without "option disturbing", it will behave exactly as before!

What a cruel, cruel joke.  Have you no shame?!  ;)

Tim Hammerquist
-- 
It takes a smart husband to have the last word and not use it.



More information about the Python-list mailing list