Python from Wise Guy's Viewpoint

Ken Rose kenrose at tfb.com
Thu Oct 23 11:57:32 EDT 2003


Pascal Costanza wrote:
> Joachim Durchholz wrote:
> 
>> Pascal Costanza wrote:
>>
>>> For example, static type systems are incompatible with dynamic 
>>> metaprogramming. This is objectively a reduction of expressive power, 
>>> because programs that don't allow for dynamic metaprogramming can't 
>>> be extended in certain ways at runtime, by definition.
>>
>>
>> What is dynamic metaprogramming?
> 
> 
> Writing programs that inspect and change themselves at runtime.

Ah.  I used to do that in assembler.  I always felt like I was aiming a 
shotgun between my toes.

When did self-modifying code get rehabilitated?

  - ken





More information about the Python-list mailing list