Re:How Lisp Became God's Own Programming Language
by nmg on Tuesday October 16, 2018 @12:19PM
(#18230614)
IANA clojurian, but its inelegance of tail recursion is a limitation of java, correct?
[ Parent
| on HN ]
Re:How Lisp Became God's Own Programming Language
by Royalaid on Tuesday October 16, 2018 @12:34PM
(#18230745)
Yeah, because the JVM can't do TCO you can't have nice recursion. The options in the language provides are good enough but definitely not the most ergonomic.
Re:How Lisp Became God's Own Programming Language
by socksy on Tuesday October 16, 2018 @02:22PM
(#18231821)
I can't remember the last time I wrote a recursive call in Clojure, other than for multi-arity. In general, if I were in a code review and saw the "recur" keyword, I think I would regard it as a code smell and see if I can re-implement it using higher order functions.