Friday, January 9, 2009

Should reading lisp be considerd hazardous?

my eyes are starting to see ) and jump back to matching (, then reparse what I just read, jump back to ); like a bloody type writer, lol

(define (factorial n k)
  (= n 0 (lambda (b)
          (if b
              (k 1)
              (- n 1 (lambda (nm1)
                      (factorial nm1 (lambda (f)
                                      (* n f k)))))))))


if I wasn't hungry, I would think that I was getting dizzy after 30min of this kinda stuff :\. I generally don't mind the parens, but I find assembly easier on the brain sometimes...

No comments:

Post a Comment