File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Java The Bad Part? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Java The Bad Part?" Watch "Java The Bad Part?" New topic

Java The Bad Part?

Hussein Baghdadi
clojure forum advocate

Joined: Nov 08, 2003
Posts: 3479

Hi Mr. Waldo.
Your book talks about the good parts in Java. What are the bad parts in Java?
Thank for help and time.
Jim Waldo

Joined: Jun 22, 2011
Posts: 29
Well, if we wanted to be totally binary about things, any part of Java that isn't a good part might be considered a bad part. But I'm less harsh than that; I think that the things are talked about in the book are really good, but there is a lot about Java that is somewhere between nearly good and merely ok.

Of course, there are also bad parts, some of which I talk about in the book. I think generics would have been better if there were runtime support for them, but they turned out better than I had feared. The IO library was clunky enough that they got redesigned to new IO (NIO), and I've heard that there is a new new IO package either in the works or part of Java 7 (I use a Mac, so haven't really looked at Java 7 yet). And the graphics packages have always been something of a problem; getting good performance and being platform independent is a real challenge, and it isn't clear that any of the attempts at a graphics library have really been great.

I personally think that the most problematic part of Java is the security model, which is really a series of security models, one grafted on top of the other. The end result is that most people run their programs with a policy that grants all rights to the program, which is the way around things. This just makes Java the same as other programming languages and environments, however, so you can't really blame Java for having tried to do security.

Jim Waldo
Author of Java:The Good Parts
I agree. Here's the link:
subject: Java The Bad Part?
It's not a secret anymore!