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

AutoAsm 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
...全文
154 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
_三皮_ 2011-09-08
  • 打赏
  • 举报
回复
支持一下。看说明、亲自操作。

1,265

社区成员

发帖
与我相关
我的任务
社区描述
软件工程/管理 管理版
社区管理员
  • 研发管理社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧