Spaghetti

Notices and updates
Locked
cormullion
Posts: 2038
Joined: Tue Nov 29, 2005 8:28 pm
Location: latiitude 50N longitude 3W
Contact:

Spaghetti

Post by cormullion »

nl-format -mode="spaghetti"

Image

;)

Edit: I broke all the links on my site :))
Last edited by cormullion on Mon Jul 20, 2009 5:49 pm, edited 1 time in total.

newdep
Posts: 2038
Joined: Mon Feb 23, 2004 7:40 pm
Location: Netherlands

Post by newdep »

Yeah !

Is that thing realy working ? ;-) nice nice..
-- (define? (Cornflakes))

DrDave
Posts: 126
Joined: Wed May 21, 2008 2:47 pm

Post by DrDave »

newdep wrote:Yeah !

Is that thing realy working ? ;-) nice nice..
Isn't it clear that the ouput was just a side effect of too much beer?
...it is better to first strive for clarity and correctness and to make programs efficient only if really needed.
"Getting Started with Erlang" version 5.6.2

cormullion
Posts: 2038
Joined: Tue Nov 29, 2005 8:28 pm
Location: latiitude 50N longitude 3W
Contact:

Post by cormullion »

The beer was used, but only to keep the scripter occupied. :)

The curvature of the text is supposed to increase or decrease with the nesting of the code (so deeper lists curve faster), and the colour of the text depends on the type of element and the depth of code nesting. There's a sprinkling of randomness in the direction of the flow.

Locked