One Programmer's Opinion of Java

Most Recent Change: Mon Oct 5 04:57:36 1998 UTC.

I've used C++ since 1993, on a nearly daily basis since 1994. Last year I began teaching myself Java, with the goal of getting a feel for its power as an application (as opposed to applet) development language. Here's a summary of my opinions. I don't claim they're unique -- they're more of a vote than a revelation -- but I hope you find them worth reading anyway.

What I Like About Java

What I Dislike About Java

Conclusion

Despite misgivings, I've decided that Java is about as good a language as C++. It's a lot more like C++ than Sun cares to admit -- almost as if you had rewound C++ to 1991 or so and applied a different set of design principles from that point in its evolution onward. (Which is very, very roughly what happened, in fact.)

Java is very effective in its chosen niche -- small- to medium-sized, non-speed-critical applications that need to be cross-platform and may also need close integration with the Web (say, to be delivered on Web pages). As the applications get larger, Java's organizational weaknesses (e.g., its relative lack of type safety) hamper it more. Of course, the fact that you theoretically don't need to debug your Java application on multiple platforms means that you may save in testing what you pay for in other ways.

In general, Java's restrictions (when compared to C++) make it a little harder for bad programmers to write bad programs at the expense of making it somewhat harder for good programmers to write good programs. I suppose that whether you consider this a good thing depends on how many bad programmers you have to deal with (maybe it also depends on whether you're one yourself :-).


Up.

[Support Free Speech Online] [Best Viewed with Any Browser] [Made with Emacs!] [Boycott Micro$oft] [Page Counter]

s-max@pacbell.net