> Imagine how hard it would be to encode this business rule using SQL: “If the person is a teacher and their class is the best in the school, then increase their salary by 20% and assign 2 other teachers for mentorship”.
I’m not saying it’s impossible (it surely is!), but the level of effort required to implement and, more importantly, to support and maintain such a solution is much higher than it is using regular OO (or FP) languages.