help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to improve the readability of (any) LISP or any highlevel functi


From: prad
Subject: Re: How to improve the readability of (any) LISP or any highlevel functional language to the level of FORTH ?
Date: Sat, 01 Jan 2011 11:22:15 -0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

girosenth <girosenth@india.com> writes:

> How to improve the readability of (any) LISP or any highlevel
> functional language to the level of FORTH ?
>
having come to lisp from haskell which i thought was very elegant, i was
initially dismayed by the increased verbosity and those
parentheses. however, now haskell looks funny and lisp reads
beautifully, so part of it is no doubt a matter of usage.

i also found that working down rather than across helps a lot. so
instead of 

(setq whatever (func1 (func2 x y) (func3 a b))

this sort of thing is often preferable

(setq whatever
      (func1 (func2 x y)
             (func3 a b)))
-- 
in friendship,
prad




reply via email to

[Prev in Thread] Current Thread [Next in Thread]