Anne,

On 2/27/06, Anne Thomas Manes <[EMAIL PROTECTED]> wrote:
A generic protocol provides only generic semantics.


Right.  You can get both real time and delayed stock quotes via a getStockQuote interface, which is better than requiring separate interfaces for each type of quote (getRealtimeStockQuote(), getDelayedStockQuote).

Generic semantics just take this practice - which improves reusability and reduces coupling - to an extreme.  Seems like a good idea to me!  And think how popular and widespread a protocol with these kinds of generic semantics would be! 8-)

Mark.
--
Mark Baker.  Ottawa, Ontario, CANADA.       http://www.markbaker.ca

SPONSORED LINKS
Computer software Computer aided design software Computer job
Soa Service-oriented architecture


YAHOO! GROUPS LINKS




Reply via email to