[Python-3000] [Python-ideas] immutable classes [was: pre-PEP: Default Argument Expressions]

Nick Coghlan ncoghlan at gmail.com
Tue Feb 20 14:28:23 CET 2007


Jan Kanis wrote:
<mode=dreaming> I just hope if
> python were designed today it would have done these. </mode>

If Python had done these, it wouldn't be Python ;)

There are many, many programming language design decisions which have 
good arguments on each side (and some which seem obviously correct may 
involve hidden costs which aren't appreciated until after it is too late 
to change them). That's one of the major reasons why there are so many 
different programming languages out there.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
---------------------------------------------------------------
             http://www.boredomandlaziness.org


More information about the Python-3000 mailing list