Chapter 14. On to Object Design

 

I do not like this word 'bomb.' It is not a bomb. It is a device that is exploding.

 
 --Ambassador Jacques le Blanc on nuclear 'weapons'

Introduction

How do developers design objects? Here are three ways:

  1. Code. Design-while-coding (Java, C#, ...), ideally with power tools such as refactorings. From mental model to code.

  2. Draw, then code. Drawing some UML on a whiteboard or UML CASE tool, then switching to #1 with a text-strong IDE (e.g., Eclipse or Visual Studio).

  3. Only draw. Somehow, the tool generates everything from diagrams. Many a dead tool vendor has washed onto the shores of this steep island. “Only ...

Get Applying UML and Patterns: An Introduction to Object-Oriented Analysis and Design and Iterative Development, Third Edition 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.