Re:Is software development really a dead-end job after age 3...
by loup-vaillant on Saturday November 18, 2017 @06:06AM
(#15728580)
I've had teachers separate languages (or styles, or paradigm) in 3 categories:
* Imperative languages describe how to perform the solution.
* Functional languages describe the solution.
* Logic languages describe the problem.
I'm not sure I actually agree with this categorisation, though.
Declarative vs imperative is more interesting: what vs how, building descriptions of problems rather than chains of calculations or lists of steps. I don't think functional style is strongly related to declarative, except in the very low level sense that a functional program doesn't necessarily have a sequential evaluation semantics. But that's increasingly true of seemingly imperative languages also.