How do Java interfaces translate to Python?
Jan Samohyl
jan at blackbox.hell
Mon Oct 1 11:12:25 EDT 2001
On Sun, Sep 30, 2001 at 10:50:15PM +0000, Gordon Tyler wrote:
> In article <j44rpk2unm.fsf at informatik.hu-berlin.de>, Martin von Loewis <loewis at informatik.hu-berlin.de> wrote:
> > What exactly is it that you do with interfaces in Java?
>
> I find myself unable to think of anything other than that. Which suggests
> to me that perhaps interfaces aren't such a useful construct after all. ;)
I have heard somewhere that in java one often uses interfaces where he would
use multiple inheritance. Maybe this is the case.
Regards,
Jan Samohyl
More information about the Python-list
mailing list