OOP and Design Patterns · Real-world situation · Experienced
Database details leaking into the domain
In a code review, you see domain classes that catch SQL exceptions and check database-specific error codes to decide business outcomes. What would you suggest?
2:00