Hi,

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
www.iktek.com
directory.apache.org


Reply via email to