Re: Very poor Lisp performance
- From: Joe Marshall <jrm@xxxxxxxxxxx>
- Date: Tue, 16 Aug 2005 15:38:18 -0400
> Jon Harrop <usenet@xxxxxxxxxxxxxx> writes:
>>
>> Is Lisp code not made less maintainable because of all those brackets?
Christophe Rhodes <csr21@xxxxxxxxx> writes:
> No, it is made more maintainable because of all those brackets,
> Jon Harrop <usenet@xxxxxxxxxxxxxx> writes:
>
> Consider the example:
>
> (defun fib (x)
> (if (<= x 2)
> 1
> (+ (fib (- x 2))(fib (1- x)))))
>
> In ML this is:
>
> let fib x = if x<=2 then 1 else fib(x-2) + fib(x-1)
>
> That may be easier to parse for the machine (I don't think it is though) but
> maintainability is about how easily a human can parse it.
> "Rob Thorpe" <robert.thorpe@xxxxxxxxxxxx>
>
> Some people find it readable, some don't. I personally don't find it
> very easy or very difficult.
> Brian Downing <see-signature@xxxxxxxxx>
>
> Also, I consider the reformatted Lisp to be more readable than the ML,
> but then, it's what I'm used to.
Is readability simply a subjective measure, then? If so, and if
maintainability is about how easily a human can parse it, then
maintainability is also a subjective measure (and not particularly
interesting for comparing computer languages).
It seems likely to me that languages that require complex parsers are
harder for humans to understand as well.
.
- Follow-Ups:
- Re: Very poor Lisp performance
- From: Jon Harrop
- Re: Very poor Lisp performance
- References:
- Very poor Lisp performance
- From: Jon Harrop
- Re: Very poor Lisp performance
- From: M Jared Finder
- Re: Very poor Lisp performance
- From: Jon Harrop
- Re: Very poor Lisp performance
- From: Raffael Cavallaro
- Re: Very poor Lisp performance
- From: Svenne Krap
- Re: Very poor Lisp performance
- From: Jon Harrop
- Re: Very poor Lisp performance
- From: Ulrich Hobelmann
- Re: Very poor Lisp performance
- From: Jon Harrop
- Re: Very poor Lisp performance
- From: Förster vom Silberwald
- Re: Very poor Lisp performance
- From: Michael Sullivan
- Re: Very poor Lisp performance
- From: Jon Harrop
- Re: Very poor Lisp performance
- From: Hartmann Schaffer
- Re: Very poor Lisp performance
- From: Jamie Border
- Re: Very poor Lisp performance
- From: Jon Harrop
- Re: Very poor Lisp performance
- From: Christophe Rhodes
- Very poor Lisp performance
- Prev by Date: problem compiling CL-GD with CMUCL 19b
- Next by Date: Re: Very poor Lisp performance
- Previous by thread: Re: Very poor Lisp performance
- Next by thread: Re: Very poor Lisp performance
- Index(es):
Relevant Pages
|