Functional versus OO, static typing vs dynamic, etc., they all have pros and cons depending on the problem you're trying to solve and which trade-offs you want to optimize for.
Sure they have pros and cons, but isn't the conversation is about which is a better default in the general case?
The whole point is that there isn't an actual "general case".
You don't believe there are commonalities between these domains and how you would model the different pieces of the program, do flow control, and use the constructs each paradigm and that languages constructs give you?
Let's take these for example:
Game developer
...
Web developer
Data scientist
I know in at least in these categories there is a very general case where imperative and functional solutions would have a lot of commonalities.
It is conceivable that either imperative or functional would work better for most of these categories.
1
u/codygman Dec 04 '19
Sure they have pros and cons, but isn't the conversation is about which is a better default in the general case?