3 ms·
I can't help but wonder why Closure doesn't support tail recursion. Yes, I know that the JVM is not supportive in this area, but it is the compiler's job to ma
by amelius 12y ago
I can't help but wonder why Closure doesn't support tail recursion.
Yes, I know that the JVM is not supportive in this area, but it is the compiler's job to make the programmer's life easier, right? And not having tail recursion seems overly restrictive, and (imho) could only lead to clumsy code.
Furthermore, it limits the ease of switching between other functional languages and Clojure. Also it complicates rewriting code from other languages to Clojure.