Nota: La traducción de esta entrada está actualmente en revisión de calidad, por lo que parte del contenido se muestra temporalmente solo en inglés.
Esta entrada aún no se ha traducido a tu idioma, así que se muestra el original a continuación.
decorator
This term describes a specialist focused on aesthetic enhancement, whether applied to physical spaces or culinary creations. In the context of home improvement, it carries a connotation of refinement and surface-level beautification, distinguishing the role from a general contractor or builder who handles structural changes.
In technical computing contexts, the word shifts from a person to a structural pattern. Here, it refers to a wrapper that extends the functionality of an object. This usage is highly specialized and devoid of the artistic connotations associated with the trade-based definitions.
Meanings
Examples
The decorator suggested a soft blue for the bedroom walls.
I need to hire a professional decorator to handle the wallpapering.
We should call the decorator before the new tenants move in.
The cake decorator spent three hours sculpting the sugar flowers.
She is a talented decorator who can make any dessert look like art.
Ask the decorator if they can add a custom message in icing.
Using a decorator allows us to add functionality without changing the original class.
I wonder if a decorator is the best approach for this specific feature.