Re:Functional Programming in C++
by nuje on Friday April 27, 2012 @01:47AM
(#3897752)
Why do people still associate FP with Lisp even though HN is supposed to be a lisper hangout :P
[ Parent
| on HN ]
I was under the impression that Lisp makes it easier to write functional code?
Your impression is right. And nuje's question is also right. The goal of Lisp is to make it easier to write all kinds of code, including functional.
Common Lisp is a a lot like other dynamic languages in that department. Some lispy languages have more FP
support (eg. Scheme says implementations must perform
tail call optimization so you can recurse without blowing your stack, which is useful when doing FP).