Home:ALL Converter>What makes Python not a functional programming language?

What makes Python not a functional programming language?

Ask Time:2019-01-10T08:21:07         Author:franklin

Json Formatter

Python variables are duck typed, mutable and it's functions can be written to have side effects. (In other words, it has a lot of non-functional programming features.)

However, it also has first-class functions and yet it's not a functional programming language. So I guess it must be true that a programming language can have functional aspects (or aspects of another language paradigm) even if it does not fall into that paradigm. What exactly makes Python not a functional programming language? Is it a test of whether it has a single characteristic or more of a test of multiple things? (If the former, what is the single aspect that makes Python non-functional or the single aspect that makes Haskell functional?)

Author:franklin,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/54120369/what-makes-python-not-a-functional-programming-language
yy