having both dynamic and static variables
Steven D'Aprano
steve+comp.lang.python at pearwood.info
Sun Mar 6 02:33:21 EST 2011
On Thu, 03 Mar 2011 06:19:41 -0800, Westley MartÃnez wrote:
> On Wed, 2011-03-02 at 19:45 -0800, Yingjie Lan wrote:
>> Hi everyone,
>>
>> Variables in Python are resolved dynamically at runtime, which comes at
>> a performance cost. However, a lot of times we don't need that feature.
>> Variables can be determined at compile time, which should boost up
>> speed.
[...]
> I once used this obscure language called "C"; it did kind of what you're
> talking about.
I'm told that there might be a couple of programming languages other than
Python and C. Personally, I find that hard to believe. Why would the
world need _three_ programming languages?
*wink*
--
Steven
More information about the Python-list
mailing list