Re:Everything that's wrong with Java in a single class
by ajross on Thursday September 20, 2012 @04:57PM
(#4550636)
Way, way, way too narrow. The Java standard library design and "framework meta-pattern" is what's being mocked here. It's java-the-community that we are laughing at via the straightforward label "Java". The fact that java-the-syntax or java-the-runtime can be used to code or deploy good software isn't really the point.
[ Parent
| on HN ]
Re:Everything that's wrong with Java in a single class
by mongol on Thursday September 20, 2012 @06:11PM
(#4551020)
Then it would have been more accurate to refer to the standard library. There is no such ridiculous class there as far as I know.
Re:Everything that's wrong with Java in a single class
by ajross on Thursday September 20, 2012 @07:00PM
(#4551204)
Really? Obviously no single class is that ridiculous (hence the title of the linked article). But that nonsense is pervasive in Java, and largely driven by the standard libraries (less so the core stuff as the more peripheral layers). I specifically remembering Swing being introduced with all the MFC goodness and noticing that they'd defined and implemented a "Model" class to track state for ... a button.
Re:Everything that's wrong with Java in a single class
by jeremyjh on Thursday September 20, 2012 @10:04PM
(#4551843)
You won't find anywhere near this level of abstraction in the standard library, at least not that I am aware. The Java culture is understandably implicated by this though, because Spring is not some niche framework being perpetrated in some fringe corner of the Java-verse. It is very much the mainstream of Enterprise Java. Of course there are lots of Java developers outside of that set who are doing great work. And a lot of Spring makes sense, or at least it did 8 years ago when I last looked it. This class does seem to reference a sort of endless abstraction maze that resonates with people though.
Re:Everything that's wrong with Java in a single class
by chris_wot on Friday September 21, 2012 @09:09AM
(#4553563)
Last I checked, the standard library wasn't trying to implement an IoC container. Your comment is actually fairly amusing, given that Spring was developed originally as an answer to the overly abstract mess that was the original version of Enterprise JavaBeans.
Interestingly, things like @Inject came after Spring, and were inspired by Spring and a number of other containers.
Re:Everything that's wrong with Java in a single class
by jeremyjh on Friday September 21, 2012 @12:42PM
(#4554429)
I was just referring to the standard library in J2SE. Of course it isn't trying to do an IoC container - but there was a comment above about whether or not this is a "Java" issue and it really is not. My last contact with this was before EJB 3 so I wouldn't even try to speak to how Spring and J2EE have evolved to help manage complexity.
Re:Everything that's wrong with Java in a single class
by ww520 on Friday September 21, 2012 @12:58AM
(#4552380)
I found it troubling for someone to equate one class or a few classes to the whole library, the whole language, or the whole community. Those pervasive nonsense you claimed in Java have certainly work very well and been used to build many systems.
Re:Everything that's wrong with Java in a single class
by ww520 on Friday September 21, 2012 @12:55AM
(#4552368)
I found the Java standard library to be very good. Why do you have to mock something if you don't agree to it? There's a reason to design and build things certain way. If you don't like it, don't use it. You are not the intended audience. What is this imaginative Java community that you are laughing?
Could it be all these mocking are symptom of your insecure language choice or library choice?