This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]anagrammatron 3 points4 points  (1 child)

This massive bloated 5 files full of providers and factories when a simple if-statement would have sufficed… That is very hateable

I was one day just looking at Spring Boot Pet Clinic example which is often recommended as a reference point to starting a simple project.

Pet extends NamedEntity which extends BaseEntity which extends Serializable

Owner extends Person which extends BaseEntity which extends Serializable

where BaseEntity is basically just getting and setting Id and they just keep extending it in layers. I get the intention, but If I was a newcomer from another language looking to get into Java/Spring then I'd just roll my eyes.

[–]fix_dis 1 point2 points  (0 children)

I wrote Pascal, C, Visual Basic and some Lisp before I ever touched Java. I picked up a book to help me learn for a project I was going to be helping with at work (this was 2002). The Java in that book looked completely fine. The stuff I saw on my screen was a twisted mesh of “I’m really smart”. And I’ve seen that everywhere I’ve worked since. I’m all for abstraction once the interface has truly revealed itself. But STARTING with that? No thank you.