Designing an execution framework
In this section, let’s look at the last process of designing the ABC Car Agency application where we will actually run the code generated throughout this case study:
- Let’s start by loading the autogenerated library:
import abccaragencylib as carsales
- At this stage, we will follow a sequence of steps by implementing a façade design pattern so that we can print the specifications and features for different types of cars:
class Queue: def __init__(self, makeclass, styleclass, age): self.makeclass = makeclass self.styleclass = styleclass self.make = self.makeclass() self.style = self.styleclass() self.new = carsales.New() &...