News for hackers. Stuff that matters.
Re:Inheritance was invented as a performance hack by ratww on Friday April 30, 2021 @05:59AM (#26991562)
"Interfaces with default implementations" are a thing in Java and in some other languages, but most people don't know about them:

https://docs.oracle.com/javase/tutorial/java/IandI/defaultme...

Re:Inheritance was invented as a performance hack by rectang on Friday April 30, 2021 @08:29AM (#26992541)
I knew that Java added "default methods" to its interfaces a few years ago, but wasn't sure whether Java uses "fat pointers" like Rust and Go.