Nota: A tradução desta entrada está atualmente em revisão de qualidade, portanto parte do conteúdo é exibida temporariamente apenas em inglês.
Este verbete ainda não foi traduzido para o seu idioma, portanto o original é exibido abaixo.
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.