+ 1

What Is The Functional Programming ?

25th Jun 2017, 5:55 PM
Infinite
3 Respostas
+ 3
mainly it means using functions to program. another charchteristic of fp is stateless, meaning variables don't change states by being immutable. examples of fp languages are Haskell, and to a lesser extent also JavaScript.
25th Jun 2017, 6:11 PM
Thanh Le
Thanh Le - avatar
+ 1
it is a way to solve problems. in it functions can be returned from other functions, functions can take functions as argument. as a result, most functions are highly generic and can take a wide range of types as argument. Python fulfills these. Though not considered a full functional programming language, this will give you a start.
25th Jun 2017, 7:36 PM
Venkatesh Pitta
Venkatesh Pitta - avatar
0
Think of it as coding with equations or value returning methods only. Once a variable has been declared it can not be changed later on, so we can say there is only one scope. Every line is a declaration instead of being a statement. That's the simplest way to put it. If you look up "Lambda-Calculus" you'll gain an intuitive understanding of what Functional Programming is.
25th Jun 2017, 6:11 PM
Koyo Uzumaki
Koyo Uzumaki - avatar