In the previous chapters, we acquired an understanding of the fundamental e modeling concepts, basic conventions, and e constructs. In this chapter, we take a closer look at building hierarchy with e using structs and units.
Chapter Objectives
Describe the definition of a struct.
Explain how to extend an existing struct definition.
Understand how to define fields.
Describe the use of list fields.
Understand how to create struct subtypes for variations of the basic struct definition.
Describe how to extend struct subtypes.
Explain the advantages of units.
Explain differences between structs and units.
Understand how to define a unit.