A deterministic function returns the same result for a given set of inputs. Prefer deterministic functions when possible to make computations easier to test and less likely to be wrong. section 6.1
Apply this guidance when designing small units of computation:
- Prefer stateless functions; when state is necessary, make functions idempotent. Handle possible failures with Result and possible absence with Option. section 6.1
- Handle failure cases from I/O or nondeterministic operations appropriately. section 6.1









