Category Archives: Object orientated design

How to design a parking lot?(转载)

Here is a quick start to get the gears turning… ParkingLot is a class. ParkingSpace is a class. ParkingSpace has an Entrance. Entrance has a location or more specifically, distance from Entrance. ParkingLotSign is a class. ParkingLot has a ParkingLotSign. … Continue reading

Posted in Object orientated design | Leave a comment