The qualities which SAS® macros share with object-oriented languages account for the power of macro
programming. This paper illustrates some examples of specific design patterns which can be partially or fully
implemented with the SAS macro language. The material is intermediate to advanced, and assumes knowledge of
macros and macro variables. The goal is to illustrate best practices for SAS macro programming.