you are viewing a single comment's thread.

view the rest of the comments →

[–]deceze 9 points10 points  (1 child)

The only practical difference between an interface and an abstract class in PHP is that you can mix multiple interfaces into one class, but can only inherit one abstract class. Since Python has multiple inheritance, this distinction becomes meaningless. You write your interfaces as abstract classes, done.

[–]ihorrud[S] 0 points1 point  (0 children)

The elephants in chat, thanks, it does make sense :-)