Re: Implementation of IBuyable or Interface?

2008-01-30 Thread Marcelo de Moraes Serpa
Hi Gabriel, thanks for the reply. It's hard to tell just with that description. If you have to distinguish > between a Product and a Service, specially if you have to do things with > one that aren't done with the other (so they have a different set of > methods), I'd say they should be different

Re: Implementation of IBuyable or Interface?

2008-01-29 Thread Gabriel Genellina
En Tue, 29 Jan 2008 15:52:58 -0200, Marcelo de Moraes Serpa <[EMAIL PROTECTED]> escribi�: > 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)

Implementation of IBuyable or Interface?

2008-01-29 Thread Marcelo de Moraes Serpa
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 Se