Creating Easily Reusable and Extensible Processes: Code That Thinks for Itself
It's easy to write code that answers only one need. It's more challenging and time-consuming to develop a "hands-off" process that adapts to many needs. In the long run, time and effort is saved by building a modular process with wide applicability.
This paper investigates the implementation of a framework to help in building efficient and reusable code. We start by looking at design considerations prior to the start of coding, including identifying design patterns and utilizing Metadata driven logic. Then we consider effective ways to split logical sections of code into easily reusable components.
Examples will be presented including • components of the planning process • design framework • key features of flexible code • macros that enable creating hands off code with minimal intervention.
A basic understanding of SAS® and the SAS Macro Language is assumed throughout the paper, however the concepts may be beneficial to a wider audience.
View the pdf for.
Feel free to email Marje courtesy of the sasCommunity site