3 ms·
Agreed on most points, but why the distaste for implicit interfaces? I find myself really, really liking that feature.
by silisili 4y ago
Agreed on most points, but why the distaste for implicit interfaces? I find myself really, really liking that feature.
- sidlls 4y agoAccidental implementation of an interface is a footgun at best. These are contracts that should be explicit and deliberate. “Write” doesn’t always mean “I/O,” for example, but if you have data for which “Write” is a perfectly reasonable method name and isn’t I/O you’re inviting eventual disaster by implementing a method with the same signature as oi.Write.