Software Engineering: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 19: | Line 19: | ||
* Testable | * Testable | ||
* Readable | * Readable | ||
== Reading == | |||
[https://tom.preston-werner.com/2010/08/23/readme-driven-development Readme Driven Development] | |||
Revision as of 14:25, 3 June 2025
Software engineering is programming over time.
From ui.dev: "as a software developer, your primary job is to maximize the predictability of your program."
Related to the "principle of least surprise".
Two contributors:
- Side effects
- Inconsistent outputs
To make a predictable program:
- No side effects
- Consistent outputs
Benefits:
- Composable: doesn't rely on outside state, so you don't have to think through what happens when you compose a few together or reuse them.
- Cachable
- Testable
- Readable