Functional Programming Flashcards

Cards, Resources, Concepts, Exercises and so on of Functional Programming in Javascript

1
Q

What are problems that Functional Programming try to solve ?

A

Need complete answer.Functional programming is about:

INPUT -> PROCESS -> OUTPUT

1) Isolated functions - there is no dependence on the state of the program, which includes global variables that are subject to change
2) Pure functions - the same input always gives the same output
3) Functions with limited side effects - any changes, or mutations, to the state of the program outside the function are carefully controlled

How well did you know this?
1
Not at all
2
3
4
5
Perfectly