Flashcards
Object of Functional Programming
Flashcards do conjunto (5)
- 1Functions in the mathematical senseAlways return the same output for the same input
- 2A function is stateless, meaning?It has no memory
It has no variables
It has no memory of previous inputs - 3Benefits of Functional ProgrammingComposition over communication
f(g(a)), h(b), g(c))
Stateless functions g and h can be evaluated in any order
Even in parallel
Communication only through return values
No race conditions, no synchronisation, no mutual exclusion - 4What is a Functional Interface?Any interface with a single abstract method
- 5—
Informações
- Descrição
- Certification Computer Studies FlashCards sobre Object of Functional Programming, criado por Martyn Longhurst em 30-09-2019.
- Criado por
- Martyn Longhurst
- Visualizações
- 10
- Tags
- Avaliação