Hacker News new | ask | show | jobs
by kinjba11 1584 days ago
You don't necessarily need inheritance. Kotlin for example has a feature wherein all that forwarding boilerplate you had to write is automated.

https://kotlinlang.org/docs/delegation.html

1 comments

That sounds fantastic. It also sounds a bit like a vtable :-D