paint-brush
Uncover the Alias Patternby@raffaeleflorio
1,297 reads
1,297 reads

Uncover the Alias Pattern

by Raffaele Florio5mMay 11th, 2022
Read on Terminal Reader
Read this story w/o Javascript

Too Long; Didn't Read

The Alias pattern deals with two issues. The first one is extending the way a final class builds its objects. The second one is having many constructors with same parameters but different semantic. While doing it, it promotes object composition over inheritance. Indeed, it doesn't require subclassing neither changing the code of the affected class. At a certain degree, it can be seen as a way to decorate objects construction.

Company Mentioned

Mention Thumbnail
featured image - Uncover the Alias Pattern
Raffaele Florio HackerNoon profile picture
Raffaele Florio

Raffaele Florio

@raffaeleflorio

🪐 Abstractions explorer in love with OOP | 🧭 Software Architect | ☕ Java Developer

Learn More
LEARN MORE ABOUT @RAFFAELEFLORIO'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Raffaele Florio HackerNoon profile picture
Raffaele Florio@raffaeleflorio
🪐 Abstractions explorer in love with OOP | 🧭 Software Architect | ☕ Java Developer

TOPICS

Languages

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite