高效理解既有软件的五个步骤

AutoAsm hp 技术经理  2011-09-07 05:21:06
http://blog.csdn.net/autoasm/article/details/6757471

Understanding design and implementation in 5 steps
分类: 工程与管理 2011-09-07 17:15 2人阅读 评论(0) 收藏 编辑 删除

Reading source is one of every day work of programmers.We have to understand legacy systems what server for many year, we have to understand open source software that our system depends over. Frankly, it's not a easy task to understand source code wrote by other guys, especially in rush.



The below 5 steps is one of BEST PRACTICES to understanddesign and implementation of a softwave system. It can guide you to understand the software step by step.



1. Identify main usecases

Intent: Understanding thefunctionality and actors

Artifact: Use case description indiagram or text



2. Identify essential packages and classes

Intent: Packages and classes are mostimportant elements in a OO-designed software, you should understand roles andobjectives of these packages and classes.

Artifact: Class diagram, Deploymentdiagram



3. Understand how the main usecases work

Intent: To understand how theseclasses work together to implement the features.

Artifact: Sequence diagram



4. Understanding involved algorithms

Intent: If the implementation involvedcomplex algorithms or background knowlege such as geometry and physics, youshould try to understand that.

Artifact: Pseudo code, mathematicmodel



5. Goto step1 for next iteration.

Intent: To understand more about thesystem.

Artifact: NA
...全文
87 点赞 收藏 1
写回复
1 条回复
_三皮_ 2011年09月08日
支持一下。看说明、亲自操作。
回复 点赞
发动态
发帖子
研发管理
创建于2007-08-27

771

社区成员

2.8w+

社区内容

软件工程/管理 管理版
社区公告
暂无公告