News for hackers. Stuff that matters.
Re:Generating a Java program with 90% less code by imtringued on Wednesday December 04, 2019 @07:38PM (#21708797)
I've seen things that you wouldn't believe. "Business Objects" that do absolutely nothing but forward function calls to "Data Access Objects"

UserController -> UserBo -> UserBoImpl -> UserDao -> UserDaoImpl.

Needless to say the implementations have never been replaced with something else. The middle layer is completely useless. UserBo, UserBoImpl and UserDao should be tossed into the garbage. Every single time you wanted to add a new SQL query you had to edit 5 files... Code navigation features of your IDE become useless and you are better off with string based search.

There are no comments on this comment yet.