4 ms·
I have been learning Haskell off and on for the last few weeks, and I can already see the elegance of it. It's given me some perception about how I can improve
by nullspace 14y ago
I have been learning Haskell off and on for the last few weeks, and I can already see the elegance of it. It's given me some perception about how I can improve my code on more mainstream languages.
I'll probably continue writing toy code with Haskell, but which is the most popular programming language that encourages a functional programming paradigm?
- Drbble 14y agoClojure. But it's dynamically typed, not statically typed. And it is mostly eager not lazy, but is growing more laziness/fusion features. OCaml, static and functional, but eager not lazy, but it lacks JVM compatibility (and FFI to non-functional C doesn't help very much) so it tends to only work for problems that don't need to third party libraries.
- jonathansizz 14y agoNo they aren't. The question was "which is the most popular programming language that encourages a functional programming paradigm?". Common Lisp is easily the most popular language that fits this description. Both Clojure and OCaml are still very much niche languages, and certainly cannot be described as popular.
- rlander 14y ago> And it is mostly eager not lazy, but is growing more laziness/fusion features. What? Eager sequence functions are the exception, not the rule; most are lazy.