Hacker News new | ask | show | jobs
by layer8 390 days ago
LSP is about much more than not throwing UnsupportedOperationException, that’s a complete mischaracterization.

ISP isn’t about avoiding UnsupportedOperationException as well, it’s about reducing dependencies.

1 comments

In Java land this is really the closest analogy I could create an example for. Do you have better example I could use with Java pls?