News for hackers. Stuff that matters.
Re:Functional Programming Is Not Popular Because It Is Weird by nostrademons on Saturday February 27, 2016 @07:48PM (#11189214)
You forgot a couple options:

3) Available code

4) Familiar code

The history of the software industry has basically been 40 years of customers choosing code that exists, solves their problem right now, and doesn't make them think too hard about how to use it. They choose this over correct code (hence, Microsoft) and over fast code (hence, Python/Ruby/Javascript/PHP).

FP actually helps you write both fast and correct code. The problem is that it requires a good deal more planning up-front and more effort to change things when requirements change. This has usually been a non-starter with the majority of customers: they want software that does what they need it to do, right now, and will continue to do what they need it to if they change their mind. If it screws up occasionally or makes people wait, that's okay, it's still faster & more accurate than a human is.

There are no comments on this comment yet.