2 ms·
> it's implementation of interfaces is too relaxed as someone only casually used to python im curious how so?
by andrekandre 6y ago
> it's implementation of interfaces is too relaxed
as someone only casually used to python im curious how so?
- SergeAx 6y agoIt only has duck-typed interfaces, unable to verify methods' signatures. Trying to implement strong inheritance leads to monstrosities __instancecheck__ and __subclasscheck__ and manual type checking of injected dependencies.