News for hackers. Stuff that matters.
Re:Ask HN: Why is functional programming not more popular? by AnimalMuppet on Tuesday November 05, 2019 @11:45AM (#21454033)
My take: Because it is more difficult for most people. I suspect that most peoples' brains don't work as well in that style. Yes, they can learn. But no, it would never be the best fit for them.

For some, FP is actually more natural. To them, it's a revelation and a freedom, and they can't understand why everyone else doesn't also find it to be wonderful.

Re:Ask HN: Why is functional programming not more popular? by ktpsns on Wednesday November 06, 2019 @02:10PM (#21465921)
Well, for many people BASIC with "goto 10" feels natural and easy. Maybe for most of us, if the programs are small. The question is: How do we deal with increasing complexity? FP is an answer, OOP is another (certainly not orthogonal) one. But people learn some traditional imperative OOP language at college and stick to it. They are told "goto considered harmful", but "imperativism considered harmful" did not really make it in their head.