Why use I-prefix for interfaces in Java?

Posted by Lars Andren on Stack Overflow See other posts from Stack Overflow or by Lars Andren
Published on 2010-04-21T02:56:25Z Indexed on 2010/04/21 3:03 UTC
Read the original article Hit count: 379

Is there some reason why people use I-prefix for interfaces in Java? It seems to be a C#-convention spilling over. For C# it makes sense, as the answers to this question explains.

However, for Java a class declaration clearly states which class that is extended and which interfaces that are implemented:

public class Crow extends Animal implements Bird

I think Joshua Bloch didn't suggest this in Effective Java, and I think he usually makes a lot of sense. I get the I-verbing as presented in an answer to the question above, but is there some other use with this convention for Java?

© Stack Overflow or respective owner

Related posts about java

Related posts about naming-conventions