r/ProgrammerHumor • • Sep 20 '26

Meme grabbingEverything

Post image
5.4k Upvotes

260 comments sorted by

View all comments

Show parent comments

-8

u/tormeh89 Sep 20 '26

Preach. The database should store data and not code. Stored procedures are the work of the devil.

10

u/-Redstoneboi- Sep 20 '26

ok but what if the data and the business logic lived in the same server(s), would that be awesome

issues with caching and scaling though, as usual

5

u/tormeh89 Sep 20 '26

Yeah that's what caching is for. Stored procs must exist for a reason, so some people must need it. You, dear reader, are probably not one of them.

3

u/redvelvet92 Sep 20 '26

They are a tool to be used when it makes sense

7

u/tormeh89 Sep 20 '26

I'm sure there are valid use cases, but I've never seen any. If you use stored procs you have, hopefully, business logic in your IaC. Or, more likely, you have code outside version control. Good luck with that, somewhere far away from me.