Loading

the first day of studying agile principles

结对编程Pair Programming)是一种敏捷软件开发实践,指两个程序员并排坐在一台电脑前,面对同一个显示器,使用同一个键盘和鼠标一起工作.

 

the test-driven development

the three rules of TDD:

1. You are not allowed to write any production code unless it is to make a failing unit test pass.

在写完“红色”(无法通过测试)的单元测试代码之前,不允许写任何的产品代码。

2. You are not allowed to write any more of a unit test than is sufficient to fail; and compilation failures are failures.

除了恰好让单元测试失败的代码(编译错误也是错误的一种),不要写更多的单元测试。

3. You are not allowed to write any more production code than is sufficient to pass the one failing unit test.

所写产品代码应该刚刚能够满足单元测试。

 

posted @   青岛欧姆网络科技  阅读(111)  评论(0编辑  收藏  举报
编辑推荐:
· DeepSeek 解答了困扰我五年的技术问题
· 为什么说在企业级应用开发中,后端往往是效率杀手?
· 用 C# 插值字符串处理器写一个 sscanf
· Java 中堆内存和栈内存上的数据分布和特点
· 开发中对象命名的一点思考
阅读排行:
· DeepSeek 解答了困扰我五年的技术问题。时代确实变了!
· PPT革命!DeepSeek+Kimi=N小时工作5分钟完成?
· What?废柴, 还在本地部署DeepSeek吗?Are you kidding?
· DeepSeek企业级部署实战指南:从服务器选型到Dify私有化落地
· 程序员转型AI:行业分析
点击右上角即可分享
微信分享提示
主题色彩