4 ms·
I find it hilarious that, after all these years, Java is still not adhering to the Interface Segregation principle - working with _small_ interfaces should be a
by JensRantil 4y ago
I find it hilarious that, after all these years, Java is still not adhering to the Interface Segregation principle - working with _small_ interfaces should be a thing. Having SequencedCollection inherit Collection goes against that.
- JensRantil 4y agoOn a larger scale, I think Java's support for inheritance of interfaces was a mistake from the start.
- nine_k 4y agoInheritance of implementations is much worse %)
- pjmlp 4y agoThe industry at large has agreed that what is bad is inheritance of implementation, even hip languages like Rust support inheritance of interfaces, so Java isn't wrong there. And naturally the whole COM like OO ABIs also support it.
- JensRantil 4y agoGood point. We should use it mush much more sparingly then. ;)