3 ms·
I get your idea but I disagree - I’ve had plenty of bugs where people don’t fully implement an “interface” or a design or a contract. I’ve had many issues where
by maccard 2y ago
I get your idea but I disagree - I’ve had plenty of bugs where people don’t fully implement an “interface” or a design or a contract. I’ve had many issues where people don’t handle failure cases and leave things in a bad state.
On the interfaces one, it’s less likely but a bad interface is a symptom of a bad design. An interface that doesn’t actually expose what it needs to means that the implementation ends up coupled to other areas. Just right now, I’m untangling an interface for storing “stuff” which has a save method. The implementation has third party auth in it, and now that something else is using the same service we need to share the credentials between the two services. It’s turning out to be a mountain of work!