Javier Borrajo wrote:
>
> Hi, I like using an "I" as a prefix for interfaces, such as
> CutomerBean, ICustomer, ICustomerHome.
>
I don't see the logic behind this (this is also the convention among COM
developers from what I know).
An interface should not be known as an interface. A Person is a Person, not an
Interface Person (IPerson). It is the same rule of abstraction that made you
chose to use an interface in the first place. You put up a facade to hide the
implementation detail. Why then expose the fact that its an interface? It does
not bring any useful knowledge, in my opinion, it only makes the code harder to
read.

IMHO, FWIW, and the lot...
/Kalle Blixt
--
Outside a restaurant in Los Angeles: "Men without tie, No service. Women without
top, Free service!"
Karl-Fredrik Blixt
Computer Science student at LiTH, Sweden
Homepage: http://travel.to/kp
Telephone: +46-(0)13-47 39 206
Cellular: +46-(0)739-87 11 03
ICQ: 4744258

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to