That’s an interesting point, Anton. I tend to agree with you.

While working on a book on the matter, I noticed that many “classical” design patterns resemble one another. “Head First Design Patterns” also notes this many times. And the distinction is the intention, many times.

You can even convince me that what I describe here is actually a proxy. But when writing this example, I was thinking more of a “Starbuzz Coffee” from the same “Head First Design Patterns”, where “decorations” are the toppings on the coffee.

Solutions Architect @Depop, author of “Hands-on Design Patterns with Kotlin” book and “Web Development with Kotlin” course