When Not to Use Macros

  • Macros are a tool, not a default — use them when reuse justifies the abstraction
  • Best suited for behaviour you need in multiple places on a Macroable class
  • If a helper function or dedicated class is clearer, prefer that instead

← / → navigate · N notes · Esc exit