Could you elaborate on what some other solutions are?
- Functions
- Abstraction
- Modularity
- Design patterns
- Programming paradigms
- DSLs
- Conventions for naming/formatting/arrangement
Although I grant that any of these could possibly work even better when codified into a framework.