Implementation of IBuyable or Interface?

Marcelo de Moraes Serpa celoserpa at gmail.com
Tue Jan 29 12:52:58 EST 2008


Hello!

It's more a design question than anything python specific. If anyone could
help me, I would be grateful. If it's not the right place for this subject,
please advise.

I've got a IBuyable interface. The app can sell both Products and Services
(Both "Buyables"). I'm not sure if Product and Service should also be
represented as interfaces (inherited from IBuyable) or if they are actually
directly implementations of IBuyable.

What do you think?

Thanks,

Marcelo.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20080129/2596fc22/attachment.html>


More information about the Python-list mailing list