Karteikarten
Object of Functional Programming
Karten in diesem Stapel (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—
Informationen
- Beschreibung
- Certification Computer Studies Karteikarten am Object of Functional Programming, erstellt von Martyn Longhurst am 30/09/2019.
- Erstellt von
- Martyn Longhurst
- Aufrufe
- 10
- Tags
- Bewertung