Finality in Java

Posted by Mike Haller on Tuesday, August 7. 2007 at 00:38 in Java
A collegue developer has some fine coding style and I'm trying to adapt it as much as possible.

However, there was one thing which made me wonder: using the final keyword in interfaces.

To be more specific, in the method parameters like this:
public interface IMyInterface {
 void doSomething( final Object object );
}


As I didn't know much more than the standard stuff about the implications of using final, I began to dig a little and present my conclusion here.

About

My name is Mike Haller and I'm a software developer and architect at Innovations Software Technology in Germany. I love programming, playing games and reading books. I like good food, making photos and learning and mentoring about the craftsmanship of commercial software development.

Quicksearch