News for hackers. Stuff that matters.
Re:Code Length Measured in 14 Languages by gjm11 on Friday November 16, 2012 @11:53AM (#4794596)
Common Lisp code basically equivalent to that first "trivial" Clojure implementation (WARNING: untested, may consist entirely of bugs):

  (defun factors (n)
    (loop for r upfrom 1 to n when (zerop (remainder n r)) collect r))
Clojure doesn't have much advantage in conciseness over CL here. It's just a matter of what approach the contributor chose to use.

There are no comments on this comment yet.