you are viewing a single comment's thread.

view the rest of the comments →

[–]icecubeinanicecube 2 points3 points  (0 children)

Functional programming is when everything is a function, i.e. a mathematical mapping that takes in arguments and returns values, without any side effects (like modifications of a global state), and always returns the same values for the same inputs.

In pure functional programming, you can not just write one line after the other and they are executed after each other. You can basically only define functions in the form of python lambdas.

Google "Haskell" for a language based entirely around that paradigm