News for hackers. Stuff that matters.
Re:Functional Programming Isn't the Answer (2014) by AnimalMuppet on Thursday July 28, 2016 @06:14PM (#12183595)
Interesting. I wonder to what degree that influences language popularity.

I suggest the following plausible points:

1. Nobody is born knowing a programming language. Languages have users to the degree that they convert non-users into users.

2. Sometimes people are forced to use a language for a job (which is, I suspect, somewhat common, but less common than hiring someone who already knows the desired language). Others are forced to learn it to pass a course. Other than those cases, though, languages convert non-users into users in proportion to how much a non-user gets rewarded for the first attempts to write code in that language. This was one of the virtues of BASIC, for example. I picked up BASIC from the TRS-80 manual in an hour, and was writing code that afternoon. I got immediate feedback (we didn't call it a REPL on BASIC, but it had one). You could just read BASIC code.

But if I have to learn a mathematical notation, or a 1000-page book, in order to be able to do anything that I want to do, I have to want to learn that language more before I'm going to bother to learn that language.

Other than university people, Haskell seems to attract people who have been around the block enough times to know why they might want to learn FP, and therefore who care enough to make the effort.

There are no comments on this comment yet.