This is a single archived entry from Stefan Tilkov’s blog. For more up-to-date content, check out my author page at INNOQ, which has more information about me and also contains a list of published talks, podcasts, and articles. Or you can check out the full archive.

String processing in Java

Stefan Tilkov,

Tim Bray has written On Character Strings, and as usual, it's very worth reading. I think Strings in Java are just about the language's worst feature, so I'm in violent agreement with what he writes.
I remember that IBM's San Francisco (R.I.P.) had its own string class, and the "feature" I hate most about Java is the half-hearted support for the "+"-operator. I don't know how many times I have seen Java code that clearly showed how dangerous the perceived simplicity can be to the performance ...