| ▲ | toast0 2 hours ago | |||||||||||||||||||||||||
> All they are saying is "I won't be a team player" and "I don't actually understand the subject matter". I get the first part, but not the second. Preferring to use SQL rather than an ORM + SQL is all about understanding the subject matter, which is the data as it exists in the database. > The tldr is if you're ever concatenating strings in order to build a query you're just doing what the entire job of orm is but rolling your own and chances are you'll end up with a bunch of bugs in how you handle well.... Everything. Yeah, so basically don't do this, except when you have to, like concatenating placeholders for a variable size IN query. There's some classes of applications where it's hard to write all the queries because there's all sorts of mix and match stuff happening. Those are pretty much doomed to poor performance if the tables are large, so I would rather not play on those teams. On the bright side, the limit of a small table gets bigger every ram generation, and table scans on nvme aren't so painful either. | ||||||||||||||||||||||||||
| ▲ | hparadiz 2 hours ago | parent [-] | |||||||||||||||||||||||||
We're pointing out the same thing. Someone that uses an ORM knows when they shouldn't use them and I tend to trust that more than someone who simply refuses to use them and ends up recreating an ORM by accident. | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||