Skip to main content

Blog Archive for bernt during September 2005

I received some interesting comments on Easy String Concatenation Considered Harmful? and want to comment some of them. I too love the easy string concatenation of Java. But ease of use and the readable code that comes from it will very often hinder the programmer from seeing the problem when it occurs. I also agree that performance optimization should not be a developers first concern. But my...
This is not about the amount of String objects generated when you do string concatenation in Java. This is about databases and JDBC. Performance problem? When encountering performance problems programmers have with Derby and other databases I very often find application code like Statement s = c.createStatement();while (<some loop on j>) {   ....   ResultSet rs = s....
Since this is my first blog on weblogs.java.net from a small country, Norway, I'll start with a short comment on Norway & Java. Norway has a population of around 5 million people, no large cities, lots of beautiful nature, has become rich from vast oil resources and fisheries, and does not bother to be a part of the EU. Small country? Definitely: Oslo, the capital, has around half a million...