← ALL SESSIONS
Tue Jun 7 · 5:00 PM SESSION #49133

Choose Delegation Over Inheritance, Really?

Venkat Subramaniam
Venkat Subramaniam
FOUNDER @ AGILE DEVELOPER, INC.
01 / ABOUT THIS SESSION

We all have read good books that tell us to choose delegation over inheritance. Yet, we often choose inheritance? Why is that?

In this presentation we will discuss the reasons, from the OO design point of view when we should choose inheritance and when we should choose delegation. Then we will discuss why we tend to lean towards inheritance. We will then model a problems to use delegation, using Java (plus some libraries), Groovy, and Kotlin and achieve fluent implementations of delegation. We will conclude with good recommendations on when to choose which approach.

02 / SESSION DETAILS
FORMAT
90-minute session
ROOM
BALLROOM 3-4
All signal.
Zero fluff.
JUNE 6 - 9, 2022 · OPAL SANDS RESORT · CLEARWATER, FL