Comments by "George Helyar" (@georgehelyar) on "Functional Programming IS NO BETTER than Object Oriented Programming" video.
-
37
-
I agree with the cultural explanation.
It is usually possible to write readable code in most functional languages, but it may just be that functional languages lean more towards writing code that looks like an equation and other languages lean more towards writing code that looks like sentences or a recipe, and the author of the code is inclined one way or the other.
If you like equations, you are more likely to use functional languages, and you may even find them easy to read, but I think the majority don't find equations easy to read, and prefer sentences.
There is a lot of variation between languages though even within the same paradigm, so I'm trying not to make sweeping statements.
At the extreme, you have languages like APL and BQN, which are very difficult to read and write. You can do a lot in a few symbols, but it takes time to work out what it's actually doing.
5