André Thieme <[EMAIL PROTECTED]> writes:
> > import module
> > module.function = memoize(module.function)
> 
> Yes, I mentioned that a bit earlier in this thread (not about the
> "during runtime" thing).
> I also said that many macros only save some small bits of code.
> Your python example contains 4 tokens / brain units.
> The Lisp version only has 2.

You shouldn't count the import statement, since you'd need the
equivalent in Lisp as well.

Contrast the much more common

  a[i] = b[n]

with

  (setf (aref a i) (aref b n))

and the attractions of Python may make more sense.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to