thuliobuarque / java2word

Automatically exported from code.google.com/p/java2word
0 stars 0 forks source link

Name convention for Interfaces #54

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago

Long time ago, I used to program in Delphi. Interfaces in Delphi have to start 
with "I". Eg.: IElement. 

If you look at the Java interfaces in the core API, none of them start with 
capital "i". Eg.: Comparable, Serializable. 

In java2word, all interfaces start with "i": IElement, IBody.

This way you can see straight away who is interface and who is class. On the 
other hand this is not a Java standard. As we know this project we try to use 
the best and the latest of everything. Any improvement/suggestion is very 
welcome! 

Please give your opinion about this. 

cheers
Leonardo Correa

Original issue reported on code.google.com by leonardo...@gmail.com on 25 Jul 2011 at 6:05

GoogleCodeExporter commented 8 years ago
Coming from the Delphi world I do appreciate the I prefix. Still, I think for 
other developers this may seem strange and confusing in JAVA code.

Original comment by temel...@gmail.com on 10 Aug 2011 at 11:54

GoogleCodeExporter commented 8 years ago
yeah... I'd vote for removing the "I"

Original comment by leonardo...@gmail.com on 10 Aug 2011 at 12:40