Sep 30
Just a short note on an item that bugs me about Java. In C++, I tend to use exactly three kinds of method parameters.
- A const reference. I don’t want to copy it, but I promise not to modify it, either.
- A reference. I might modify it.
- A copy. I might modify my local copy, but not the original. I’m getting a copy, after all.
Easy peasy in C++. In Java? Uh, I pass all objects by reference. Continue reading »

I like Java. Well, that is, I don’t dislike Java as much as I dislike most other langauges. I’d honestly prefer ML, but I’d be without the massive ball of mud that is the Java class libraries, the wonder that is Eclipse, and ANTLR. I need these. It’s a weakness.