DEV Community

Discussion on: Does Functional Programming Make Your Code Hard To Read?

Collapse
 
david_whitney profile image
David Whitney

you’re also trying to keep track of the flow of control through the functions as they are combined

In this I meant, "as a reader" if you're trying to mentally trace your path through the combination of functions, you, as a human, are doing the combining of functions mentally.

FP allows us to express/encode our intentions with the most universal, most general language people happened to discover: Math. That's all about it.

Absolutely - it's a constrained style of programming, with advantages and disadvantages :)