Should we always pair program?除了在工作场所的使用,许多人发现结对编程是一个梦幻般的教学和学习的工具。
Beyond its use in the workplace, many have found pair programming to be a fantastic tool in teaching and instruction.
The best way to pair program is to just sit side by side in front of the monitor.结对编程,在原则上,是伟大的--就像打了激素的橡皮鸭调试法。
Pair programming, in principle, is great- it's like Rubber Duck debugging on steroids.结对编程:所有的产品软件都是由两个程序员,并排坐在一起在同一台机器上构建的。
Pair Programming- all production software is built by two programmers, sitting side by side, at the same machine.Combinations with other parts of speech
作为开发人员,最好的学习和成长途径之一就是与经验比自己更丰富的开发人员结对编程。
One of the best ways to learn andgrow as a developer is to pair program with developers who have more experience than you.考虑到这种更有同理心的反应,你可能会平静地解释所要求的改变的目的,甚至可能会主动提出结对编程。
With this more empathetic response in mind, you might calmly explain the purpose of requested changes andperhaps even offer to pair program.结对编程-所有的生产代码都是由两个程序员在通一台机器上编写的。
Pair programming- All production code is written with two programmers at one machine.这就是结对编程价值论建立的基础,也是它为什么难以量化的原因。
This is where the economic value proposition of pair programming is founded, and also why it is hard to quantify.我们对团队最大的改变之一是鼓励结对编程,因此没有一个开发人员单独开发一个特性。
One of our biggest changes to the teams was encouraging pair programming, so no one developer was ever working on a feature alone.与代码评审工具不同,结对编程在团队中形成了一个自然屏障使得代码讨论对外无影响。
In contrast to code review tools, pair programming forms a natural barrier around the team that keeps code discussion free of outside influence.有时XP也使用结对编程,但并非总是如此,所以那是一个特殊情况。
Sometimes pair programming is used with XP but not always, so that is a special case.这可能意味着结对编程,或者参加黑客马拉松,或者加入一个编程用户组(比如VermontCodersConnection)。
That might mean pair programming, or going to a hackathon, or joining a programming user group(such as the Vermont Coders Connection).它和XP的其它实践相互支撑,比如持续集成、结对编程等等。
It was mutually supported by otherXP practices such as continuous integration, pair programming, and so on.相反,程序员应该坐在一个团队的环境中,参与讨论,帮被人解围,还要参与结对编程。
Instead, programmers may be expected to sit in a group space, engage in discussions, help others with problems,and participate in pair programming.其次,显示生活中的问题更能够展示应聘者的知识--我们喜欢和员工进行结对编程。
Secondly, a real-life problem can show a lot more of a candidate's knowledge-we love to do pair programming with the people we hire.如果你正在寻找实习或新工作,寻找鼓励新团队成员结对编程的公司。
If you're looking for an internship or a new job,be on the lookout for companies that encourage pair programming for new team members.第一种类型是瞬时代码审查,它发生在结对编程的情景中。
The first type is the instant code review,which happens during pair programming.你可以花费大量的时间在代码审查上却依然比结对编程花费更少的总工程师时间。
You can spend a lot of time on code reviews andstill use much less overall engineer time than pair programming.技术实践如结对编程、测试驱动开发、还有需要特别强调的自动化单元测试,对与他们而言可能都是新东西。
Technical practices such as pair programming, test-driven development, and a strong emphasis on automated unit testing will be new to them.
Taken to the extreme,code can be reviewed continuously with the practice of pair programming.结对编程-所有的生产代码都是由两个程序员在通一台机器上编写的。
In Pair Programming, all production code is written in pairs- two programmers working together at one machine.审查的形式多种多样,如结对编程,非正式走查,正式检查等。
Reviews are done in various forms such as pair programming, informal walk through, and formal inspections.结对编程课程的第一部分允许候选者选择其中一种语言来使用。
The first part of the pair programming session allows the candidate to choose a language to build in.事实上,48%的人表示,如果他们提供结对编程的话,会增加他们在公司工作的兴趣。
Said it increases their interest inworking at a company if they were offered the opportunity to pair programme.然而,我不属于任何一种(至少我自己是这么想的),可我仍然讨厌结对编程。
I'm none of these(at least I don't think),but yet I still hate the idea of Pair Programming.宣称这种外向人群理想中的结对编程方法是对所有人有效的“最佳实践”是愚蠢的,我不在乎敏捷开发教条主义者会说什么。
To claim that this extrovert's ideal of pair programming is a"best practice" for all is foolish, I don't care what the agile dogmatists say.近日,皇家信号学校的StuartWray为IEEE软件杂志2010年的一月刊撰写了一篇文章,题目是“结对编程如何才能真正起作用”。
Stuart Wray, from the Royal School of Signals, wrote a paper for the January 2010edition of IEEE Software Magazine entitled"How Pair Programming Really Works".在InfoQ的文章《远程工作》中,TomHowlett为我们展示了他在家中进行远程工作时,是如何使用结对编程的方式开展合作与共享信息的:.
In the InfoQ article remote working worksTom Howlett explains how he uses pair programming to collaborate and share information when working from home:.开发人员和测试人员应该熟悉的一些技术包括:代码异味(codesmell)、静态代码分析、重构、结对编程、代码审查和检验。
Some of the techniques that developers and testers should be familiar with are code smells, static code analysis,refactoring, pair programming, reviews, and inspections.