
New Features in Visual Basic .NET • Chapter 1 11
OO design frequently requires more up-front work than other environments,
and usually the design process starts by enumerating a list of declarative sentences
that describe what an object must do. For example, if you were building a car
using object-oriented principles, you might describe the requirements as follows:
■
The CAR must ACCELERATE.
■
The CAR is a type of VEHICLE.
■
The CAR has the color RED.
Now we know enough to begin defining the objects we need. In general, the
nouns in these sentences describe the objects that are required (in this case, the
car); the verbs describe the methods that the object ...