3 ms·
My commiserations. Sounds really horrible. But I still think it's more a matter of "enterprise" culture than of Java's deficiencies, even though I agree that Ja
by fauigerzigerk 18y ago
My commiserations. Sounds really horrible. But I still think it's more a matter of "enterprise" culture than of Java's deficiencies, even though I agree that Java's lack of expressiveness does contribute to these problems.
However, it's not unimaginable that a posting like yours could be submitted here 7 years down the road with Java replaced by Ruby/Rails or Python/Django. Piling on libraries is widespread in other communities as well. Attempting to avoid any knowledge of the DBMS even counts as cool in Ruby/Python circles.
At least many Java libraries are reasonably high quality. The same cannot be said about something like Django's ORM for example. I looked at the code the other day. They have no optimistic locking, and there is one completely useless existence check before each and every update. It's completely beyond me how anyone could use an ORM that doesn't support optimistic locking. But nobody seems to care. There are even postings in the archives with people claiming it's not necessary for web apps. That's just plain incompetence.
The whole idea of abolishing the separation between the database and the application is a huge disaster in the making. Up until now we could at least throw away legacy applications and still have a reasonably well designed database schema. Not any longer. In my view, that's the main contribution of Rails and it's rip-offs to software design.
So basically what I'm saying is that incompetence is is widespread and coolness trumps competence for extended periods of time, leaving behind a whole lot of crap like that one you're working with right now. The next generation of crap is piled on as we speak and it's written in today's fashion languages.
I'm all in favor of better programming languages because they improve the productivity of good programmers. But they don't make bad or even average programmers any better.