Macros
释义 Definition
macros 是 macro 的复数形式,常见含义有两类:
- (计算机)宏、宏指令:把一段常用操作或代码打包成可重复调用的“快捷方式”(如编程中的宏、Excel/Word 中的宏)。
- (健身/营养)三大营养素(macronutrients)的简称:通常指 蛋白质、碳水化合物、脂肪(“算宏”“控宏”常见于饮食管理语境)。
(在某些语境中 macro 也可指“宏观的”,但 macros 更常见于以上两类名词用法。)
发音 Pronunciation (IPA)
/ˈmækroʊz/
例句 Examples
I recorded my macros in an app after lunch.
我午饭后用应用程序记录了我的三大营养素摄入。
The team uses macros to automate repetitive steps, but they document them carefully to avoid confusion later.
团队用宏来自动化重复步骤,但他们会仔细写文档,以免以后造成混乱。
词源 Etymology
macro- 源自希腊语 makros,意为“长的、大的”。因此在英语里形成“宏大的/宏观的”含义;在计算机领域引申为“把一长串操作缩成一个可调用的指令(宏)”;在营养健身语境中则是 macronutrients(大量营养素)的简称 macros。
相关词 Related Words
文学与著作中的用例 Literary Works
- The C Programming Language(Kernighan & Ritchie):讨论 C 语言中的预处理器与宏(macros)。
- Clean Code(Robert C. Martin):在代码可读性语境中提及宏(macros)的使用与取舍。
- The Pragmatic Programmer(Andrew Hunt & David Thomas):在自动化与工具化实践中涉及宏/脚本一类概念。