On Sun, 31 Jul 2005 21:03:36 -0700, Paul Rubin wrote: > Steven D'Aprano <[EMAIL PROTECTED]> 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. -- http://mail.python.org/mailman/listinfo/python-list