Python syntax in Lisp and Scheme

David Rush drush at aol.net
Mon Oct 6 06:17:52 EDT 2003


On Sat, 04 Oct 2003 16:48:00 GMT, <prunesquallor at comcast.net> wrote:
> I agree that injudicious use of macros can destroy the readability of
> code, but judicious use can greatly increase the readability.  So
> while it is probably a bad idea to write COND1 that assumes
> alternating test and consequence forms, it is also a bad idea to
> replicate boilerplate code because you are eschewing macros.

But it may also be a mistake to use macros for the boilerplate code when
what you really need is a higher-order function...

david rush
-- 
(\x.(x x) \x.(x x)) -> (s i i (s i i))
        -- aki helin (on comp.lang.scheme)




More information about the Python-list mailing list