namespaces
Steven D'Aprano
steve at REMOVETHIScyber.com.au
Mon Aug 1 12:37:41 EDT 2005
On Sun, 31 Jul 2005 21:03:36 -0700, Paul Rubin wrote:
> Steven D'Aprano <steve at REMOVEMEcyber.com.au> writes:
>> Most languages can create self-modifying code. That's not the
>> question. The question is whether developers should write
>> self-modifying code, not whether language designers should prohibit it.
>
> There was no self-modifying code in that closure example.
> Self-modifying code means something entirely different.
The example was a function that modified itself to do something different
from what it was doing. Calling it a "closure" is just jargon. As for
closure being "tried and true" in Lisp... well, there is a reason why Lisp
is a niche language, with very little if any use in the commercial world.
--
Steven.
More information about the Python-list
mailing list