to decorate
- verb
- /ˈdɛkəˌreɪt/
- Specialized
- decorating cakes
- decorating your home
- decorating her room
Examples
-
And I will see you tomorrow where I'm going to be helping Mark decorate his flat.
-
Later that day, the girls and I made cupcakes, and they had a great time decorating them all.
Blog text (20) -
At home, Connie decorated her bracelet with glitter glue.
Fiction book (1995) -
CallerInfo attributes are specifically designed to decorate the optional parameters of a method, which can then be used by the .NET runtime to inject the caller information.
Blog text (26) -
In programming, you can decorate a function with additional functionality using a decorator.
-
To enhance the behavior of a method, programmers often decorate it with special annotations.
-
When you decorate a class, you modify its methods to add new features.
Antonyms
How Modified
- Specialized
- Specialized
Surface Forms
Morphology
Etymology
Decorate in programming is a modern, metaphorical use of the same Latin root decorare 'to make beautiful', and a decorator is like an ornament placed around a function that changes how it works. A helpful way to remember this is to imagine putting a decoration around a function to add new behavior.