functional programming
- functional programming is a way of writing code by means of pure functions
-
benefits of functional programming:
-
Immutability
- All values derived from old values
-
Testability
- Pure functions are easy to test
-
difficulties of functional programming:
-
unintuivive
- many people learn programming either imperatively or in an object-oriented manner
-
impractical?
- interfacing with “the real world” is challenging