Fichas
Object of Functional Programming
Fichas del 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—
Información
- Descripción
- Certification Computer Studies Fichas sobre Object of Functional Programming, creado por Martyn Longhurst el 30/09/2019.
- Creado por
- Martyn Longhurst
- Visitas
- 10
- Etiquetas
- Valoración