The Cost of Dynamism (was Re: Pyhon 2.x or 3.x, which is faster?)

Marko Rauhamaa marko at pacujo.net
Sat Mar 12 17:10:30 EST 2016


Chris Angelico <rosuav at gmail.com>:

> I completely agree with you that the keyword should mean "write-once"
> or "never rebind".

That would be possible. I'm afraid that would result in people
sprinkling these "constant" keywords everywhere to make the program
supposedly run faster. -- Something like that has happened with the
"final" keyword in some Java houses.

That would prevent the ad hoc installation of wrappers, debugging tools
etc.


Marko



More information about the Python-list mailing list