Re:ORM is an anti-pattern
by chrisjsmith on Wednesday June 15, 2011 @01:11PM
(#2657995)
It's mainly due to the fact that MORE abstraction means MORE complexity. I currently have to deal with an NHibernate mess of over 1000 domain objects (!) at the moment and it's an absolute nightmare on the performance and maintainability front.
[ Parent
| on HN ]
To be fair, 1,000 (or however many you need) stored procedures probably wouldn't be all that much better. I've seen systems taking both approaches and I've seen both go right and wrong. It has more to do with the team than the technology, I think.
Re:ORM is an anti-pattern
by chrisjsmith on Wednesday June 15, 2011 @03:34PM
(#2658675)
We replaced 15,000-odd stored procedures with NHibernate. It's the same turd in a different coat.
Re:ORM is an anti-pattern
by Brad_Smith on Wednesday June 15, 2011 @01:56PM
(#2658260)
if More abstraction is leading to more complexity, then there is something very wrong going on.
Re:ORM is an anti-pattern
by chrisjsmith on Wednesday June 15, 2011 @03:36PM
(#2658688)
Have you seen a Spring/Hibernate Java app go pop on top of Glassfish? The STACK TRACE takes more memory than the address space of a 8-bit processor.
That's TOO MUCH abstraction demonstrated.