Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

rate your language

Name: Anonymous 2010-07-28 5:39

Scalability:x/10;
Performance:x/10;
Ease of use:x/10;
verbosity:x/10;

Name: Anonymous 2010-07-29 21:38

>>79
Simple enough (* 3 x x) becomes (* 3 (expt x 9)).
Please keep in mind that I usually break down into many lines and read by indentation instead of actually counting or matching parens, here's one of the most verbose ways to ident it(automatically of course):


(+ (* 3
      (expt x 9))
   (* x 4)
   y
   4)

I find this quite readable, however it is more verbose. As verbose as it may look, typing/indenting/editing/transforming this code around (with key chords or automatically) is very easy and effortless with a good editor. It's also easy on the eyes if you spend at a week or so writing Lisp and getting used to it. Just like order of precedence took a bit to get used to during elementary school for some people.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List