单元测试必须作为一级应用程序代码管理。
您会看到,一旦您习惯了从高阶和一级函数的角度思考,您就能减少(一语双关)代码中无用的部分。
You can see that once you become accustomed to thinking in terms of higher-order and first-class functions, you can reduce (pun intended) a lot of noise in your code.
函数语言结构,如高阶和一级函数,能让我对抽象的理解更进一步,让我更多地将精力放在代码能做什么而不是怎么做 上。
Functional language constructs such as higher-order and first-class functions allow me to climb one more rung up the abstraction ladder and focus more on what the code does rather than how it does it.
这种客户端被称作“胖客户端”,因为这种结构将可执行代码的相当大一部分都放到了客户端一级(参见图2)。
These clients are referred to as thick or fat clients because they had a significant portion of the executable code in the client tier (see Figure 2).
和很多软件组织一样,我的团队处于第一级(没有适当的过程),而其它团队有形式上的代码检查。
Like many software organizations, my team was at Level 1 (no process in place), whereas the other teams had formal code inspections.
可以认为支持闭包就是提供将“代码块”作为第一级对象处理的能力:能够传递、调用和动态创建新的代码块。
You can think of closure support as providing the ability to treat "blocks of code" as first class objects: pass them around, invoke them, and dynamically create new ones.
在运行时证实该代码有某一级别的信任时,它就允许该代码访问对于该信任级别合适的受保护资源。
When the runtime establishes that code has a certain level of trust, it allows the code to access protected resources appropriate to that level of trust.
第一级是代码复用级,主要是测试用例和测试流程几乎完全一样,因此可以在对新业务模块进行测试时直接复用同一级的测试用例;
The first level is code reuse level, test cases and testing process is almost exactly the same, so it can be tested on the new business module directly to re-test with the same level;
第一级是代码复用级,主要是测试用例和测试流程几乎完全一样,因此可以在对新业务模块进行测试时直接复用同一级的测试用例;
The first level is code reuse level, test cases and testing process is almost exactly the same, so it can be tested on the new business module directly to re-test with the same level;
应用推荐