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

Lisp kills productivity!

Name: Anonymous 2011-08-06 2:53

Lisp goes against the human thought process. You must think in reverse to successfully write and read Lisp code!

Consider the famous REPL:
(loop (print (eval (read))))

People will typically think Loop-Print-Eval-Read, which is obviously wrong. They want to read left-to-right, not recursively. Thus, it's a write-only language. I'm an employer and if one of my applicants told me they were a Lisp programmer, I'd personally throw them out the door.

Name: Anonymous 2012-12-08 15:44


(defun rec-rev (item)
  (if (listp item)
    (reverse (map 'list #'rec-rev item))
    item))

(defmacro human-thought-process-compatible (&rest code)
  (rec-rev code))

(human-thought-process-compatible 1 2 3 4 +)

(human-thought-process-compatible
  ((((1 n -) factorial) n *)
    1
    (0 n eq) if)
  (n)
  factorial
  defun)

(human-thought-process-compatible 12 factorial)

(human-thought-process-compatible (((read) eval) print) loop)

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