How “Effective Java” may have influenced the design of Kotlin — Part 2
Lukas Lechner
3163

To name another possible influence: “Item 16: Favor composition over inheritance” probably inspired first class delegation support avoiding boilerplate code that often comes with composition in Java.

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

Like what you read? Give Peter Fischer a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.