开发者

Simple explanation of "Unified Modelling Language", why is it important?

开发者 https://www.devze.com 2023-02-06 16:46 出处:网络
i am new to asp.net and i was told that i need to know UML thoroughly to build successful software, is this correct? i mean cant i just \"code and fix\" and \"开发者_运维问答model\" in my brain. how i

i am new to asp.net and i was told that i need to know UML thoroughly to build successful software, is this correct? i mean cant i just "code and fix" and "开发者_运维问答model" in my brain. how important is UML and what is the best way to learn it?


UML is a standard used to convey information about the design of an object oriented software system in a (mostly) graphical format.

It is important as it makes communicating about such a system easier.


UML is a simple way to graphically document a system and its interactions. Its value to you is not necessarily using UML itself, but the value of documenting a system before coding or modifying it.

I see the advantages as

  1. You are forced to think about the whole design before you start building. A drawing is a lot easier to change than a whole lot of code. Mistakes at this stage are easier to rectify.
  2. It helps to understand the system and interactions far better than code alone can. With all the self-documenting code that you can write, a good diagram will nearly always be clearer to and fast to pick up.

The disadvantages are

  1. Takes time to produce, when you would probably rather be coding and experimenting
  2. Can get out of date if effort is not put in to keeping up to date.


i mean cant i just "code and fix" and "model" in my brain

You can. It's done every day. And a lot of what's going through it at the time, and how you convey your ideas on napkins is already a form of UML without its rigid nomenclature.

But if you're working with colleagues on big systems, there may be occasions were they speak the language.

0

精彩评论

暂无评论...
验证码 换一张
取 消