有人说: 烂代码跟一坨屎一样,很多时候就是和一坨屎共处千万别深挖,说不定把哪里挖塌了把你埋了,扔一坨代码到屎山上,达到自己目的,能跑就行了,你还要搞清楚山上的屎哪一坨是谁拉的,拉的人吃了什么,就没什么意思了。
但这座狗屎山不是祖先,但我领导了发展。以下简称[我的屎山]。
[En]
But this shit mountain is not ancestral, but I led the development. Hereinafter referred to as [my shit Mountain].
在积累了几个类似项目的经验后,该公司希望开发出一款复用率高的产品,可以作为每个项目的定制基础产品。
[En]
After the accumulation of experience in several similar projects, the company hopes to develop a product with a high reuse rate, which can be used as a customized basic product for each project.
之前已经开发了一个版本,但它实际上是基于第一个项目,有很多考虑不周的地方,我希望这次能改变这些问题。
[En]
A version has been developed before, but it is actually based on the first project, there are a lot of ill-considered places, I hope to change these problems this time.
1、易用的脚手架
在产品中,应该有相关的例子,可能使用的技术的例子,以及新设备可以使用的样例代码。该程序开始了调试和发布的实际过程。
[En]
In the product, there should be relevant examples, examples of technologies that may be used, and sample codes can be used for new devices. The program starts the practical process of debugging and releasing.
当项目被定制时,不再需要预框架,可以在设计完成后进行开发。没有必要对新技术进行研究,以直接投入开发。
[En]
When the project is customized, the pre-framework is no longer needed and can be developed after the design is completed. There is no need for research on new technologies to go directly into development.
2、通用的标准化模块
在产品中,要有一些标准模块,这些模块是大部分项目都需要的。
项目定制时,希望只需几处小改动,就能实现客户的定制。我希望大部分代码都能被重用。
[En]
When the project is customized, it is hoped that only a few small changes can realize the customization of the customer. I hope most of the code can be reused.