| ▲ | javcasas 3 hours ago | |
> OOP actually makes a ton of sense for CRUD and database operations. OOP is nothing but trouble when you try to do some advanced database operations. Select some columns, aggregate them. That is hard in OOP. Throw in window functions and OOP just decides you don't exist. | ||
| ▲ | 1718627440 3 hours ago | parent [-] | |
OOP is a fine paradigm for an abstraction boundary, the problem is actually abstraction boundaries in the wrong places. Make your object the database, and none of these problems exist. I know none of these OOP-first/only languages encourages that. | ||