3 ms·
I pretty much use ORM for everything database related. I never wanted to spend the extra time learning SQL syntax when I could do everything using an abstractio
by gh1 10y ago
I pretty much use ORM for everything database related. I never wanted to spend the extra time learning SQL syntax when I could do everything using an abstraction layer in my chosen language. Of course, this strategy doesn't work for highly scalable applications because you don't want the extra overhead added by the abstraction layer to slow your applications down.
- dozzie 10y agoThis strategy also breaks apart when you have a little more data to be extracted or when you need to reason about performance. It works when you mostly need to put your objects somewhere and retrieve them later.
- asah 10y agoThis is kinda the sense I get. But then I keep seeing shops that outsource and there's raw SQL all over and that seems messy too.