2009/7/31 Steven D'Aprano <st...@remove-this-cybersource.com.au>:
> 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!

We don't actually *declare* that something is constant and then have
that declaration ignored. Python doesn't lie to us, although (as in
any language) a programmer might.

-- 
Tim Rowe
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to