Architecture
Decide the shape before writing the code.
We design the data model, the service boundaries and the failure modes first, and we write them down. Architecture is the part of a system that is expensive to change later, so that is where we spend our thinking.
In practice
- Schema and domain model reviewed before the first endpoint
- Architecture decision records kept in the repository
- Failure modes designed for, not discovered in production