32 OBJECT-ORIENTED DESIGN
In preceding chapters, I’ve explored many topics that aren’t typically associated with Batch from booleans to hash tables, with many others in between. In this chapter, I’ll tackle the holy grail of Batch user-built tools: object-oriented design.
After explaining the difference between procedural and object-oriented coding, I’ll lay out the four pillars of object-oriented programming. Then I’ll present a fully functional model of Batch object-oriented design, complete with bat files representing parent, intermediate, and child objects. After you’ve learned how to invoke the object-oriented code, I’ll share many ...
Get The Book of Batch Scripting now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.