Hacker News new | ask | show | jobs
by stickfigure 1 day ago
This is specifically Spring culture, not Java culture in general. I don't tend to see this outside of Spring. Maybe back in the J2EE days, but that community seems to be more or less dead.

Java is a big tent. Yeah there are some parts that deserve this kind of mockery.

The Rails equivalent is over-metaprogramming. "I solved it with method_missing." I've worked on code like this in real life. TBH I'd rather have the inane verbose class names.

2 comments

I**Factory existed long before spring came around
I-prefixing interfaces is a practice from Microsoft's COM, and to this day still isn't part of Java culture, despite the efforts of subversive dotnet renegades.
Yes, more common is

  Manager     // interface

  ManagerImpl // class
Yeah, Ruby code bases are generally harder to maintain than Java ones.