What are the traits a language should have to be qualified as a functional language? When we can say that a language XYZ
supports functional paradigm?
What are the traits a language should have to be qualified as a functional language? When we can say that a language XYZ supports functional paradigm?
Those are two different question. I'd say that "supporting functional paradigm" means:
By this definition, pretty much any modern mainstream programming language supports the functional paradigm (with the exception of C).
To be classified as "functional language", a language needs to focus on the functional paradigm as its primary or only paradigm, including immutability and focus on pure (side-effect-free) functions. Apart from the above, this usually means: