当前位置:网站首页>[beauty of software engineering - column notes] 16 | how to write project documents?
[beauty of software engineering - column notes] 16 | how to write project documents?
2022-07-29 06:20:00 【if...else...】
List of articles
Column information
Columnist : The treasure jade
Column publishing platform : Geek time
primary coverage
summary
Basically, everyone agrees :“ Project documentation is important ”, However, we always overestimate the importance of documents in short-term projects , And the importance of documents has been underestimated for a long time .
As a result, the slogan is very loud : Pay attention to documents 、 Write a good document 、 Write more documents , However, with the progress of the project , There are always more important tasks than document priority , The priority of documents is always postponed intentionally or unintentionally , The document of the project is missing 、 old and worn-out 、 No maintenance .
Why don't programmers like to write documents ? There are roughly the following reasons :
- I don't know how to write
- Too busy to write or too lazy to write
- Because it's agile development , So don't write documents ?
One Why write a document ?
- Help document writers clear their thinking
- Convenient for future maintenance and handover
- It is convenient for the team to better cooperate and communicate
Two How to write a good document ?
- Start with imitation
Imitation is the best way to write documents , Especially now there are many examples that can be referred to online , When you don't know how to write a document , You might as well find a similar document , Try to imitate writing . - Start with a small document
Start writing documents , The content doesn't need much , You can start with a small document . As I mentioned earlier , Take some notes , Don't care about the format , A word or two , Some screenshots , Just good notes . - From thick to thin , Iterative updating
When I was a child, I wrote a composition , The most advice teachers give is to outline , I didn't listen to this suggestion much when I was a child , Later, when I want to write project documents, I feel very practical . - Some basic drawing skills
Some people say :“ Words are not as good as words , Chart is not as good as table , A picture is worth a thousand words ”. I agree with this view very much , A good diagram can help you explain the problem simply and intuitively .Wireframe

flow chart

Sequence diagram

Screenshots in various formats
Screenshots are also a very simple and direct way , Put the software UI、 The effect of interaction design 、 Data trend chart 、 Direct screenshots such as data statistics , Add some arrows if necessary 、 written words , It can also explain the problem clearly . Especially product design documents , Frequently used .
3、 ... and Some other suggestions about documentation
Sometimes I see some extreme situations , Is too much pursuit of documents , It takes a lot of time to write documents in the project , Many documents are formal , It doesn't make much sense , It may not be used for discussion after writing , No one's going to see it .
Agile Manifesto view : Documentation is important , But working software is better than detailed documentation . The balance is very important .
Four Other excerpts
- Document first , Will put aside the details of the code , Think about the overall situation .
- The real obstacle is not thinking clearly , There are only some unformed chaotic ideas and concepts in my heart , We must strive to make these vague ideas definite and specific , To write it out .
- To put it another way , If you can't even write a document , Then how can you expect the code to be well written ?
- The more detailed you write, the more useless you will be , Last , You may even conflict with different opinions because you don't want to change the document .
- It's not difficult to draw a good flow chart , The point is to clarify the logical relationship , The trend of each key node under different conditions .
summary
No time to write or lazy , It can't be a reason not to write documents . For important project documents , It should be added to the daily development tasks , Write the document , Placed in and designed 、 Development is equally important . In a way , Poor documentation , Code is also hard to write .
边栏推荐
- Simple code to realize PDF to word document
- Huawei cloud 14 day Hongmeng device development -day3 kernel development
- LeetCode #7.整数反转
- 封装——super关键字
- EPS32+Platform+Arduino 跑马灯
- FPGA based: moving target detection (supplementary simulation results, available)
- Huawei cloud 14 days Hongmeng device development -day1 environment construction
- 单链表面试题
- 一些工具,插件,软件链接分享给大家~
- 2022 spring move - core technology FPGA post technical aspects (one side experience)
猜你喜欢

Huawei cloud 14 days Hongmeng device development -day1 environment construction

HR must ask questions - how to fight with HR (collected from FPGA Explorer)

2022暑初二信息竞赛学习成果分享2

2022 spring recruit - Hesai technology FPGA technology post (one or two sides, collected from: Digital IC workers and FPGA Explorers)

QT learning notes QT model/view

CV520国产替代Ci521 13.56MHz 非接触式读写器芯片

Ml self study notes 5

【软件工程之美 - 专栏笔记】28 | 软件工程师的核心竞争力是什么?(下)

【软件工程之美 - 专栏笔记】27 | 软件工程师的核心竞争力是什么?(上)

2022 spring move - core technology FPGA post technical aspects (one side experience)
随机推荐
STM32FF030 替代国产单片机——DP32G030
leetcode刷题笔记 452. Minimum Number of Arrows to Burst Balloons (Medium) 452.用最少数量的箭引爆气球(中等)
【软件工程之美 - 专栏笔记】24 | 技术债务:是继续修修补补凑合着用,还是推翻重来?
LeetCode #283.移动零
传统模型预测控制轨迹跟踪——圆形轨迹(功能包已经更新)
QT learning notes QT model/view
LeetCode #977.有序数组的平方
计算机网络面试题
Zero basics FPGA (5): counter of sequential logic circuit design (with introduction to breathing lamp experiment and simple combinational logic design)
Markdown and typora
synchronized八锁现象理解
NOI Online 2022普及组 题解&个人领悟
Jingwei Qili: development of heart rate and blood oxygen module based on hmep060 (1: FPGA sends multi bit instructions)
【软件工程之美 - 专栏笔记】20 | 如何应对让人头疼的需求变更问题?
一些工具,插件,软件链接分享给大家~
位运算学习笔记
STM32 printf问题总结 semihosting microLIB理解
基于F407ZGT6的WS2812B彩灯驱动
markdown与Typora
进程与进程的概念