UML for Java - 3 Why use pictures

xiaoxiao2021-03-06  65

Chapter II Map (Diagrams)

Why is the model?

Why do engineers should build models (Models)? Why is the aerospace engineer to build a spacecraft model? why

Bridge engineer should build a bridge model? What is the purpose of providing these models?

These engineers build models to identify whether their design works fine. Aerospace engineer builds a spacecraft

The model, then put them in the wind tunnel to understand whether these spacecraft can be flying. Bridge engineer construction bridge model comes

Understand whether the bridge is connected. Construction engineers build a model of architecture to understand whether the customer likes this architecture. Build

The mold is to verify whether the matter is working.

The model means they must be inspected. In order to verify it, if there is no available inspection standard for a model

It is quite bad. If you can't evaluate a model, this model is no value.

Why is the space engineer not to build a plane right away and go to test flight? Why is the bridge engineer not built immediately?

A bridge and see if it can be connected? Because spacecraft and bridge cost is much more expensive than models. When the model is better than me

When we actually built things, we use models to study design.

Why model software?

Can a UML map can be inspected? Is it more cost-effective than created? For these two questions, this

The answer is unable to understand the situation as an aerospace engineer and bridge engineer. No one test a UML map

Fixed standard. We can observe it, evaluate it, then apply principles and patterns, but the final assessment is still phase

Be subjectively. Painting UML gram is less than writing software, but it is not an important factor. Of course, change a UML map

It is easy to modify the source code, is it meaningful to use UML?

If there is no meaning in using UML, I will not write this book. However, the above example illustrates UML

Easy is misused. When we need to verify some things, or use UML to verify ratio encoding

When we are more cost-effective, we use UML.

For example, I have a specific design idea, I need to consider it through the developers in my team.

Not a good idea to check, so I draw a UML map on the whiteboard, then ask the teammates' feedback.

Why should we construct a comprehensive design before the coding?

Bridge engineers, aerospace engineers and construction engineers are drawing design pictures, why? Draw a design of a house

Figure 1 can be, and build it needs five or more people. Ten aerospace engineers can draw a plane

The diagram, and thousands of people need to build it. Drawing design images do not need to be excavated, pouring concrete and hanging windows. In short

It is planned to build it more cost-effective in advance. Discard a wrong design

How much is the flower, but the dismantling of a failed building has to spend a lot of money.

In addition, the cutting of the software is not that thoroughly, and it is not a cropping of the UML chart more cost-effective than writing code.

Special thoroughly. In fact, many project team spend more time than writing code itself over the UML map. Discard

One figure is more cost-effective than the discard code, which is not necessarily. Therefore, create a comprehensive UML before writing the code

Designed as a valuable, effective option, it is not necessarily.

转载请注明原文地址:https://www.9cbs.com/read-85440.html

New Post(0)