好词典

decorator

UK //ˈdekəreɪtə(r)//US //ˈdekəreɪtər//

词源

源自拉丁语 decorare(装饰)+ 后缀 -or,16世纪通过法语 décorateur 进入英语。

noun

❶ 装饰者,指专门从事室内装修或布置工作的人,负责通过色彩、家具等元素美化空间。

“We hired a decorator to redesign our living room.”

(我们聘请了一位装饰师重新设计客厅。)

“The decorator suggested using lighter colors to make the room feel larger.”

(装饰师建议使用浅色让房间显得更大。)

❶ 装饰物,指用于美化或点缀的物品,如节日挂饰或艺术摆件。

“Christmas tree decorators sparkled under the lights.”

(圣诞树装饰品在灯光下闪闪发光。)

“She collects ceramic decorators from different countries.”

(她收集来自不同国家的陶瓷装饰品。)

同义词:designer, stylist, ornamenter

verb

❶ 在编程中,指通过特殊语法动态修改函数或类功能的装饰器模式。

“The @property decorator in Python lets you define getter methods.”

(Python中的@property装饰器可用于定义getter方法。)

“Decorators can add logging functionality without changing the original code.”

(装饰器能在不修改原代码的情况下添加日志功能。)

同义词:wrapper, modifier

常见短语

interior decorator — 室内装饰师,专门规划居住或商业空间美学设计的专业人士。

“The interior decorator recommended an open-concept layout for our apartment.”

(室内装饰师为我们的公寓推荐了开放式布局方案。)