结对编程是两个软件开发者在一台电脑前一起工作的一种编程实践,是极限编程方法的基础。对于软件产品的开发,人的知识是项目成功的重要因素。在组织的软件过程改进中,合适地引入结对编程,有利于知识的共享并营造团队合作的氛围,进而改善产品质量和缩短完成时间。不同规模的组织采用的软件过程的不同,对结对编程的引入会有不同的影响,所以在实践中结对编程的重构是必需的。基于小型组织和敏捷过程的项目实践,给出了一个切合实际的结对编程重构方案,进而提高小团队的生产效率。
Pair programming, where two software developers work together at a single computer, is the basis of extreme programming (XP). In development of software products, human' s knowledge is the key factor in any successful project. In organization' s software process improvement, the proper introduction of pair programming benefit to knowledge sharing and atmosphere constructing of team collaboration, and then improve the product quality and short the completion times. It's different influence on introduction of pair programming in different size of organization where different software process was used, so that some refactoring of pair programming must have in practice. For getting higher productivity, and based on project practice of a small organization and agile process, this paper proposes a practical pattern of pair programming.