4 ms·
> I always thought different paradigms suited different problem domains rather than different people. This. Any imperative program can be formally encoded as a
by TuringTest 10y ago
> I always thought different paradigms suited different problem domains rather than different people.
This. Any imperative program can be formally encoded as an immutable functional program, and vice-versa.
Therefore, which paradigm to choose is a matter of what style fits the problem at hand better, and how comfortable you are with the paradigm. But this is true of any coding convention.