Luckily, I learned that pushing untested code into production didn't work; consequently, I began to write unit tests.
幸运的是,我已经学到 绝不应该将未经测试的代码投入生产;因此开始坚持编写单元测试。
Creating a simple, traditional decorator for each case is too cumbersome, and it would add so much syntax to your code that it would be hard to determine which unit of work you're aiming for.
为每个操作创建一个简单的传统修改器过于麻烦,并且会向代码添加大量语法,从而造成难以确定目标工作单元。
Software also lacks a well defined atomic unit of work — even though we can apply various measures, such as lines-of-code, number of classes, number of function points, number of bugs, etc.
即便我们可以采用不同的测量方式,例如代码行数、类的数量、函数指针的数量、系统漏洞的数量,等等,软件还是缺乏一种定义良好的原子结构。
Developers work on projects in an Application Developer workspace, where they create code, make changes, and unit test.
开发人员在Application Developer工作区中开发项目,其中,他们可以创建代码、更改代码和进行单元测试。
The encoding unit, composed of instruction buffer and command encoder, translates the 12-bit command code to 16-bit control signal, and ensures each part of the system to work steadily.
译码单元由指令缓存器和指令译码器构成,针对12位的指令代码翻译成16位控制信号,传送给处理器内部各个部件,用以保证各部件正常工作。
The encoding unit, composed of instruction buffer and command encoder, translates the 12-bit command code to 16-bit control signal, and ensures each part of the system to work steadily.
译码单元由指令缓存器和指令译码器构成,针对12位的指令代码翻译成16位控制信号,传送给处理器内部各个部件,用以保证各部件正常工作。
应用推荐