Jump to content

GDevCon North America 2023/A Class Act: Simple Design Patterns to Improve Code Quality

From LabVIEW Wiki
A Class Act: Simple Design Patterns to Improve Code Quality
Conference GDevCon North America 2023
Presenters Allen C Smith
A Class Act: Simple Design Patterns to Improve Code Quality by Allen C Smith

We’ve had access to object-oriented programming in LabVIEW since 2006, but not every application needs a fully realized object-oriented solution. For those that don’t, the judicious use of a few simple OO design patterns can simplify our work, improve modularity and testability, and deliver cleaner, more easily understood code, all while preserving the look and feel of “traditional” LabVIEW. We will draw on real-world solutions to explore the Template Method, the Factory, the Aggregator, and the State Pattern, and learn how those patterns evolve from and interact with traditional LabVIEW applications.