Comment by sjducb
1 day ago
Most teams that “use raw SQL” end up accidentally writing ORMs anyway. You have a bunch of similar SQL queries so someone writes a SQL generator. Someone notices that if we are using one field from the account table, then we usually want the others, so they create an Account object and share it to reduce duplication.
You’re usually better off starting with a good standard ORM at the beginning.
No comments yet
Contribute on Hacker News ↗