Why don't people like lisp?

Frank A. Adrian fadrian at ancar.org
Thu Oct 16 11:20:16 EDT 2003


larry wrote:

> No they they think: sum up the square of a bunch of numbers.
> This  has an almost direct translation to the lisp style:
> (apply '+ (mapcar #'(lambda(x)(* x x)) numlist)).

Well, they do until  they get an exception because the list is too long. 
Then they think WTF!?! until a helpful Lisp person tells them to use reduce
instead of apply :-).

faa




More information about the Python-list mailing list