3 ms·
They exist, but it's super spotty. HN is written in an FP language for example. One of the airline reservation systems is written in some kind of FP. Reddit wa
by bane 12y ago
They exist, but it's super spotty. HN is written in an FP language for example. One of the airline reservation systems is written in some kind of FP.
Reddit was written in a Lisp originally. But like many major FP projects, ended up being rewritten in a more common language. I used to work at a place that had hundreds of thousands of lines of CL code that was all rewritten in Perl and was on its way to getting rewritten into Java by the time I left there.
I agree with the major thrust of your argument, FP seems to find itself mired in weird niches. I'm not sure if it's because FP advocates seem to not want to write mainstream end-user software or it just hasn't leaked out into the mainstream, but it's pretty tough to find lots of major FP success stories outside of a constant stream of anecdotal advocacy stories (none of which ever seem to be attached to some piece of software I can download and actually touch for day-to-day usage).
I suspect the problem is that lots of the kind of software end users want is difficult/hard to write in an FP style, but an order of magnitude easier in an imperative language (even if it's less "right")...FP is just the wrong paradigm for general purpose programming, even if it works better than imperative languages in certain niches. I think this is an illuminating summary of all this [1]. However, here's an engine written in Haskell [2].
It seems that FP ideas will continue to end up in non-FP languages long before FP languages will become a major success. That might be a success by itself?
To save us some time, here are some pretty woeful lists where this exact question is asked and answered.
https://programmers.stackexchange.com/questions/22073/is-functional-programming-actually-used-to-create-applications https://programmers.stackexchange.com/questions/22073/is-fun...
http://lambda-the-ultimate.org/node/2491 http://lambda-the-ultimate.org/node/2491
1 - http://prog21.dadgum.com/54.html http://prog21.dadgum.com/54.html
2 - http://www.hgamer3d.org/index.html http://www.hgamer3d.org/index.html
- zurn 12y ago> One of the airline reservation systems is written in some kind of FP. You are probably thinking of ITA and their Orbitz service, using Franz Common Lisp. That is not really a FP language, but a good feather in the hat for Lisp nonetheless.
- bane 12y agoYeah that's it. Well, strike that off the list then I guess.