directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lecharny <>
Subject [Mitosis] Interface vs classes
Date Fri, 09 Jan 2009 12:24:12 GMT

while reviewing Mitosis, I found that we have many cases where we use an 
interface and a single implementing class. For instance :

interface CSN
class DefaultCSN

interface CSNFactory
class DefaultCSNFactory

I don't think that defining an interface for every single class we want 
to design  is a very good idea. So far, I don't think either that we 
might implement those interfaces elsewhere for another specific need.

I suggest we simply discard the interface, and rename the DefaultXXX ro 
the Interface name.

wdyt ?

cordialement, regards,
Emmanuel L├ęcharny

View raw message