Re: Very poor Lisp performance
- From: Jon Harrop <usenet@xxxxxxxxxxxxxx>
- Date: Tue, 16 Aug 2005 18:10:13 +0100
Christophe Rhodes wrote:
> Jon Harrop <usenet@xxxxxxxxxxxxxx> writes:
>> Is Lisp code not made less maintainable because of all those brackets?
>
> No, it is made more maintainable because of all those brackets,
> because it is straightforward to write tools which can manipulate the
> textual representation of your program, and because human programmers
> do not read the brackets.
I don't think that makes sense. Continuing that line of thinking, Whitespace
and Brainf*** are the most maintainable languages.
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.
--
Dr Jon D Harrop, Flying Frog Consultancy
http://www.ffconsultancy.com
.
- Follow-Ups:
- Re: Very poor Lisp performance
- From: André Thieme
- Re: Very poor Lisp performance
- From: Förster vom Silberwald
- Re: Very poor Lisp performance
- From: Matthias Buelow
- Re: Very poor Lisp performance
- From: Peter Seibel
- Re: Very poor Lisp performance
- From: Stefan Nobis
- Re: Very poor Lisp performance
- From: Brian Downing
- Re: Very poor Lisp performance
- From: Rob Thorpe
- Re: Very poor Lisp performance
- From: Christophe Rhodes
- 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: Re: Very poor Lisp performance
- 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
|