Re:OO is not Computing, Newer is not More modern
by UK-AL on Monday April 30, 2012 @10:02AM
(#3909267)
It's a personal choice, I think OO makes modelling large systems easier. At that point you can use an ORM.
If you prefer procedural code, then obviously ORMs are no use to you...
I mean love various programming paradigms, I like Haskell, but it can make things difficult. For example programming a basic game in haskell, is far from simple. You normally have to introduce reactive programming to make it sane.
I find OO makes large systems easier.
In my opinion the amount of boilerplate required for JDBC makes ORM a must in java...
I described how I've been taught OO. First without using databases, and with wrong abstractions (nouns instead of relations, when the system was all about relations). I think it's the default experience, because I've seen many such examples of bad OO design.
Then we've been taught databases, but using ORMs, like it was the only possible way, because objects are required for the system to be modern. And I don't like that too, because IMHO (OO + ORM + relational DB) doesn't add any value over (procedural programming with relational DB), but adds complexity, and is less transparent.