Y
Hacker News
new
|
ask
|
show
|
jobs
by
ratww
1881 days ago
"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...
1 comments
rectang
1881 days ago
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.
link