Hacker News new | ask | show | jobs
by duaneb 4297 days ago
> AFAIK, the only thing that is "functional" about Clojure is its immutable data structures (and closures, but even JS has those).

Oh, you sweet summer child. Work with a language without closures and try to do anything functional.

1 comments

Which language? C++? Java? Both now have closures. Closures aren't the indicator that a programming language is functional; I need something more - though I admit that I'm mostly used to static functional languages, I guess ADTs are not so useful in a dynamic language.
As with any programming paradigm, its not really useful to think of "functional" as a binary feature of programming languages, but rather an approach for which programming languages have varying degrees of support.
At very least it needs to be able to have directly support for lambda calculus.