4.2. Object-oriented analysis

The first part of the OOA stage is figuring out what classes you will use and what some of their main methods might be. How might this work? Suppose that you have completed the requirements-gathering stage, and you’ve come up with a written summary of what the software is supposed to do. A good way to start the OOA process is to review a printed copy of the requirement summary and mark it up. Circle the noun and noun phrases in one color ink and circle the actions in another color ink – or use boxes and circles. The nouns are likely to be either classes or member fields of classes. The verbs are likely to be class methods.

In keeping with our book’s theme of being a case study about software engineering a computer ...

Get Software Engineering and Computer Games now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.