January 2024
Intermediate to advanced
254 pages
6h 13m
English
This chapter focuses on the three most common structural patterns. Structural patterns allow us to plan our code with the end usage in mind. For example, if we know that the end users of our system are likely to be designers with no code experience, we could plan to use the type object pattern to provide a system for easy dynamic expansion. We have already covered some of the concepts around code structure when we discussed using interfaces and events to achieve anonymous modular design in Chapter 7. The three patterns in this chapter (template, subclass sandbox, and type object) are a little more zoomed-in in terms of scope compared to what we have looked ...