Tagged Questions
43
votes
12answers
6k views
Why isn't functional programming more popular in the industry? Does it catch on now? [closed]
During my four years at university we have been using much functional programming in several functional programming languages. But I have also used much object oriented programming to, and in fact I ...
17
votes
5answers
4k views
For what common problems is functional programming not a good fit?
Functional programming is a declarative paradigm. One of the strenghts with FP is that side-effects are avoided. It's said that for some problems FP isn't a good fit.
For what common problems isn't ...
40
votes
14answers
3k views
Why the current enthusiasm for Functional Programming? [closed]
I've been hearing a lot of enthusiasm about functional programming languages lately, with regards to Scala, Clojure, and F#. I've recently started studying Haskell, to learn the FP paradigm.
I love ...
31
votes
6answers
12k views
Haskell AND Lisp vs. Haskell OR Lisp
I currently code with C, C++, and Python. I'm wanting to pick up a functional programming language, and right now I'm leaning toward Haskell. I do NOT want to start a "Haskell vs Lisp" war here; what ...
24
votes
1answer
2k views
Why is an anemic domain model considered bad in C#/OOP, but very important in F#/FP?
In a blog post on F# for fun and profit, it says:
In a functional design, it is very important to separate behavior from
data. The data types are simple and "dumb". And then separately, you
...
11
votes
4answers
951 views
FP and OO orthogonal?
I have heard this time and again and I am trying to understand and validate the idea that FP and OO are orthogonal.
First of all, what does it mean for 2 concepts to be orthogonal ?
FP encourages ...
12
votes
7answers
904 views
Functional as a first language
What are some pros and cons to learning functional programming before other paradigms?
3
votes
1answer
1k views
Non-OOP languages advantages and good uses
I'm a C# developer, but I also know Java, JavaScript, XSLT, a little of C and Perl, e some other that I may have forgotten. Still, the paradigm I'm most familiar to is OOP.
I have always thought ...
3
votes
4answers
661 views
Introducing functional programming constructs in non-functional programming languages
This question has been going through my mind quite a lot lately and since I haven't found a convincing answer to it I would like to know if other users
of this site have thought about it as well.
In ...