Using macros like this significantly reduces typing because you do not have to constantly be writing and rewriting variable bindings, derivations, and parameter passing.
使用这样的宏可以显著减少代码输入量,因为不必不断地编写和重新编写变量绑定、派生和参数传递。
Accidentally overwriting bindings by introducing a variable name that was previously defined in a macro.
如果引入的变量名正好是一个宏中以前定义过的,那么就会覆盖绑定。
Carefully document all boilerplate macros, especially the introduced variable bindings and all changes between versions.
仔细地在文档中记录所有样板宏,尤其是引入的变量绑定和版本之间的所有变化。
应用推荐