by alkonaut · 11y ago · 0 comments
And what if during that time instead of switching programming languages, it was the storage system that had to be switched? You could easily invert the argument "Don't keep the logic in the DB! I had to switch from Postgres to MSSQL which meant I painstakingly had to convert all my db-logic, I wish it had been in the code instead!"
You wouldn't even need to switch the database, just add a cache between the storage an the app, or add/switch ORM etc.
There is a huge impedance mismatch between table storage and code, but I don't see how it gets more responsive to changed requirements by using logic in the DB.
And don't even get me started on the whole debugging/unit testing issue with logic-in-databases.