当前位置:网站首页>STM32 and motor development (from architecture diagram to documentation)
STM32 and motor development (from architecture diagram to documentation)
2022-07-05 13:02:00 【Embedded - old fee】
【 Statement : copyright , Welcome to reprint , Do not use for commercial purposes . Contact mailbox :feixiaoxing @163.com】
Many students don't like writing documents , I always feel that writing documents delays things , Impact on development efficiency . actually , That's not necessarily the case . In actual development , The purpose of writing documents is mainly to clarify their own ideas , Consider everything before developing code , Prevent code from being written in half , The situation that needs to be overturned and restarted occurs .
Of course , Many times, writing documents is really boring , So is there any good way , It can make document writing a little easier , The answer is to write an architecture diagram first . Because the document itself can be regarded as an architecture diagram + The format of the text .
1、 Write the architecture diagram first
Architecture diagram is the soul of software . After we get the software development requirements , The first step is to split the module 、 Process abstraction and interface design . You can find some suitable software to complete this part , such as visio、openoffice draw、processon Fine . All in all , As long as the goal can be achieved . For example, we write a website , Then you can draw a simple flow chart ,
2、 Add text to the flowchart
With the flow chart , Or after the architecture diagram , The next thing to do is to organize words to describe this figure . Which modules can this requirement be divided into , What is the function of each module , What is the relationship between modules , What is the commonly used framework , What usage habits do users have , This part can be written .
A lot of times , In order to avoid boredom , In the process of writing text, you need to add a directory 、 Revise history 、 For the reader 、 Noun abbreviation 、 form 、 The formula 、 Algorithm pseudocode 、 References . With these contents , You can enrich the document all at once . Explain one thing clearly , You can draw graphics from different angles , It's all right , Mainly to clarify the problem .
3、 The most important thing is the interface
Part of the algorithm , Generally, everyone will pay attention to . But the interface , Especially the interface of the module 、 Function interface 、 Interface of configuration parameters 、 Database interface 、 Network interface , This part often ignores . Nowadays, software development is getting bigger and bigger , Many times, not all functions can be completed by one person . therefore , For different people , In addition to knowing the position of your own development module in the whole software system , Another part is the software interface , Or module interface .
The module interface can be divided into two parts , First of all , What is the input of the module , What parameters are needed ; second , What is the output of the module , What functions can the module provide to others . In actual development , Also pay attention to the specific interface technology , yes 485、ethernet, still can, This depends on the specific environment .
4、 Documents must be read and kept fresh
The document is finished , It doesn't mean that it's over . In the follow-up, new software requirements are put forward , Or when software changes occur , Document update must be indispensable .0.1 edition 、0.2 edition , In this way, software documents need to be maintained and updated constantly . The longer the time , The reuse value of documents will be higher and higher , There is no need to push it down every time , Therefore, the opportunity for the corresponding developed code to be reused will be greater and greater . The corresponding software will become more and more robust , These are the inevitable results that will happen over time . In a word , This is the compound interest effect of time .
边栏推荐
- Talk about my drawing skills in my writing career
- RHCSA2
- I'm doing open source in Didi
- Alipay transfer system background or API interface to avoid pitfalls
- Reshape the power of multi cloud products with VMware innovation
- Alibaba cloud SLB load balancing product basic concept and purchase process
- ##无监控,不运维,以下是监控里常用的脚本监控
- Comprehensive upgrade of Taobao short video photosynthetic platform
- 将函数放在模块中
- 实现 1~number 之间,所有数字的加和
猜你喜欢
2021.12.16-2021.12.20 empty four hand transaction records
Taobao product details API | get baby SKU, main map, evaluation and other API interfaces
自然语言处理系列(一)入门概述
Discussion on error messages and API versions of SAP ui5 getsaplogonlanguage is not a function
How to connect the API interface of Taobao open platform (super detailed)
Hundred days to complete the open source task of the domestic database opengauss -- openguass minimalist version 3.0.0 installation tutorial
Developers, is cloud native database the future?
Laravel文档阅读笔记-mews/captcha的使用(验证码功能)
Setting up sqli lab environment
百日完成国产数据库opengausss的开源任务--openGuass极简版3.0.0安装教程
随机推荐
How to connect the API interface of Taobao open platform (super detailed)
What if wechat is mistakenly sealed? Explain the underlying logic of wechat seal in detail
《2022年中国银行业RPA供应商实力矩阵分析》研究报告正式启动
#yyds干货盘点# 解决名企真题:搬圆桌
[Nacos cloud native] the first step of reading the source code is to start Nacos locally
事务的基本特性和隔离级别
Kotlin process control and circulation
Wechat enterprise payment to change access, open quickly
Introduction to sap ui5 flexiblecolumnlayout control
实现 1~number 之间,所有数字的加和
Overflow toolbar control in SAP ui5 view
How do e-commerce sellers refund in batches?
初识Linkerd项目
Shi Zhenzhen's 2021 summary and 2022 outlook | colorful eggs at the end of the article
Introduction to sap ui5 dynamicpage control
解决uni-app配置页面、tabBar无效问题
2021-12-22 transaction record
The solution of outputting 64 bits from printf format%lld of cross platform (32bit and 64bit)
Natural language processing series (I) introduction overview
超高效!Swagger-Yapi的秘密