Polymorphism

Polymorphism is something every developer who has done some object-oriented programming knows about.

Polymorphism helps us to write generic code that can be reused and applied to a variety of types.

It is important to know that there are different types of polymorphism out there, and we will be looking at them in this section.

Get Scala Design Patterns - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.