Implementation of a delegator
1 posts in topic
Flat View  Flat View

Posted By:   nigel_sale
Posted On:   Tuesday, October 28, 2003 11:02 AM

Probably no right or wrong answer to this question, but i'd value some opinions.

I have a delegator which presentation layer clients use to acess my service. So this is my published API. My instinct is to make the implementation of this an interface, but i wonder if this is correct.

The interface would not define a type as such, and i can't see many different implementation of the delegator being offered, so why not keep it simple and make it concrete?

Re: Implementation of a delegator

Posted By:   Christopher_Koenigsberg  
Posted On:   Tuesday, October 28, 2003 11:08 AM

I'd say go with your instinct, use an interface for the clients to access it by, and keep the implementation as hidden as possible.

About | Sitemap | Contact