3 ms·
There's two aspects to GP's comment. > Even in the best case, readability just becomes a Pareto frontier[0], given by expressive limits of the dominant program
by ryandv 3y ago
There's two aspects to GP's comment.
> Even in the best case, readability just becomes a Pareto frontier[0], given by expressive limits of the dominant programming paradigm
> People forget that readability isn't a function of specific program - there is no one optimal readability. On the contrary, it's a function of the program and the goals of the reader.
The original Wiki at c2 has a great example [0] comparing the expressive capabilities of functional vs. object-oriented programming, and their suitability towards certain goals - namely, either extending the set of operations the system supports, or expanding the number of data (sub-)types the system models.
In spite of Turing equivalence, some paradigms (even if only in terms of readability, dev ergonomics etc.) are better suited for expressing certain classes of problems than others, which may introduce unnecessary friction trying to solve problems that are mismatched with the paradigm's approach to structuring and decomposing problems (e.g. into compositions of functions, or compositions of objects).
[0] https://wiki.c2.com/?ExpressionProblem https://wiki.c2.com/?ExpressionProblem