5 ms·
> the developer has explicitly stated, yes I want to comply to interface XYZ, instead of doing it by accident To be honest, it's pretty hard to implement an in
by bheadmaster 4y ago
> the developer has explicitly stated, yes I want to comply to interface XYZ, instead of doing it by accident
To be honest, it's pretty hard to implement an interface by accident. You'd have to specifically implement methods with specific names and type signatures.
If method names + type signatures don't intuitively specify how should implementation behave, then it's either a bad interface or a trivial one.