Confessions of a Python fanboy

Ethan Furman ethan at stoneleaf.us
Fri Jul 31 11:08:29 EDT 2009


Steven D'Aprano wrote:
> On Thu, 30 Jul 2009 18:47:04 +0100, Tim Rowe wrote:
> 
> 
>>That and the fact that I couldn't stop laughing for long enough to learn
>>any more when I read in the Pragmatic Programmer's Guide that "Ruby,
>>unlike less flexible languages, lets you alter the value of a constant."
>>Yep, as they say "Bug" = "Undocumented feature"!
> 
> 
> That's no different from Python's "constant by convention". We don't even 
> get a compiler warning!
> 

That's quite different, actually.  Python doesn't claim to have 
constants!  Can't misinterpret what you can't have, can you?

[Holds breath while awaiting counter-example... :]

~Ethan~



More information about the Python-list mailing list