Decomposing entities

After listing key entities and processes, we move to decompose them into more detailed entities that will be transformed into classes later. It's even better to sketch the design of the project. Just draw rectangles containing names of entities and connect them with arrows if they are somehow connected together or are parts of the same process. You can start an arrow from entity A to entity B if there is a process that includes or is started by the entity A and is finished at or results in entity B. It doesn't matter how good the drawing is, it's a necessary step toward a better understanding of the project. For example, look at the following diagram:

Decomposing entities and processes into classes and their intercommunication ...

Get Expert C++ now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.