Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #25901

Naming conventions for Interface + Implementation classes?

From rob@wenger.net (Robin Wenger)
Newsgroups comp.lang.java.programmer
Subject Naming conventions for Interface + Implementation classes?
Followup-To comp.lang.java.help
Date 2011-02-03 09:14 +0000
Message-ID <4d4a71ec$0$6777$9b4e6d93@newsspool3.arcor-online.net> (permalink)
Organization Arcor

Followups directed to: comp.lang.java.help

Show all headers | View raw


As I noticed there are two different naming conventions for an Interface+Implementation pair:

1.)  MyClass (=Interface) + MyClassImpl (=Implementation)

or

2.)  IMyClass (=Interface) + MyClass (=Implementation)  

The first one is (AFAIK) from Sun  Who defined originally the second one?

What is recommended (for which scenario)?
  
Robin

Back to comp.lang.java.programmer | Previous | Next | Find similar | Unroll thread


Thread

Naming conventions for Interface + Implementation classes? rob@wenger.net (Robin Wenger) - 2011-02-03 09:14 +0000

csiph-web