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

Steven D'Aprano steve at pearwood.info
Mon Mar 14 22:12:06 EDT 2016


On Tue, 15 Mar 2016 12:35 pm, BartC wrote:

> On 15/03/2016 01:27, Steven D'Aprano wrote:
>> On Tue, 15 Mar 2016 07:31 am, BartC wrote:
>>
>>> But how do you pass something that refers to a itself?
>>
>> You can't. "Names" are not first-class values in Python.
> 
> This was my real point. Python includes some odd features that you say
> are indispensable (mutable function names), but excludes others which
> are standard in some other languages.

Um, yes?

All languages make choices about what features they allow. That's one of the
reason why there are so many languages to choose from.


-- 
Steven




More information about the Python-list mailing list