DatIsNature And The Beauty of Lisp

| No Comments | No TrackBacks

Was it Neal Stephenson who said that Lisp is the only beautiful programming language? The excellent DataIsNature has a link to a
snippet of Lisp to draw the Mandelbrot set, which is a case in point:


(loop for y from -1 to 1.1 by 0.1 do
(loop for x from -2 to 1 by 0.04 do
(let* ((c 126)
(z (complex x y))
(a z))
(loop while (< (abs
(setq z (+ (* z z) a)))
2)
while (> (decf c) 32))
(princ (code-char c))))
(format t "~%"))

No TrackBacks

TrackBack URL: http://robmyers.org/mt/mt-tb.cgi/3538

Leave a comment

About this Entry

This page contains a single entry by Rob Myers published on August 16, 2005 6:16 PM.

Colours was the previous entry in this blog.

Motive, Subject and The Creative Commons Licenses is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.