prompting AI for clean architecture
AI generates working code but defaults to poor architecture unless developers explicitly enforce design principles like SOLID.
- Advanced models like Opus generate functional code, but members find the underlying software architecture often defaults to messy patterns
- While AI can navigate and maintain tangled code easily, frequent modifications drive up token and maintenance costs over time
- Without explicit instructions to follow SOLID principles, AI defaults to monolithic, beginner-style scripts such as overloaded GameManager components


