tbh I think the term functional programming language is a misuse of the term. Functional implies functions, not immutability. A pure language I think is a better descriptor.
The name comes from the concept of mathematical functions. Immutability is just one of the many concepts that make a functional language.
I know but when there's already a specifier for immutability with the word pure and functions in C can be mutable, it's natural to assume someone might think in terms of a C function.
Even Haskell and F# differentiate themselves as pure functional and non-pure functional.
I might be mixing the terms up, yeah. Imperative sounds familiar. I don't do it myself.
Anyway, I'm not saying I'm in favour of this practice. Just trying to clear up what looked to me like a possible misunderstanding.
tbh I think the term functional programming language is a misuse of the term. Functional implies functions, not immutability. A pure language I think is a better descriptor.
If I'm not mistaken, a Pure language would be something more like Haskell, with no mutable state at all within methods.
But yeah, functional tends to be a bit too broad of a term. Nearly all languages have at least some functional component to them.
You read my mind