Two Heads Are Often Better Than One
来源:互联网 发布:pos机小票打印软件 编辑:程序博客网 时间:2024/06/03 07:48
Two Heads Are Often Better Than One
Adrian Wible
PROGRAMMING REQUIRES DEEP THOUGHT, and deep thought requires soli- tude. So goes the programmer stereotype.
This “lone wolf ” approach to programming has been giving way to a more col- laborative approach, which, I would argue, improves quality, productivity, and job satisfaction for programmers. This approach has developers working more closely with one another and also with nondevelopers—business and systems analysts, quality assurance professionals, and users.
What does this mean for developers? Being the expert technologist is no longer sufficient. You must become effective at working with others.
Collaboration is not about asking and answering questions or sitting in meet- ings. It’s about rolling up your sleeves with someone else to jointly attack work.
I’m a big fan of pair programming. You might call this “extreme collaboration.” As a developer, my skills grow when I pair. If I am weaker than my pairing partner in the domain or technology, I clearly learn from his or her experience. When I am stronger in some aspect, I learn more about what I know and don’t know by having to explain myself. Invariably, we both bring something to the table and learn from each other.
When pairing, we each bring our collective programming experiences— domain as well as technical—to the problem at hand and can bring unique insight and experience into writing software effectively and efficiently. Even in cases of extreme imbalance in domain or technical knowledge, the more experienced participant invariably learns something from the other—perhaps a new keyboard shortcut, or exposure to a new tool or library. For the less- experienced member of the pair, this is a great way to get up to speed.
170 97 Things Every Programmer Should Know

Pair programming is popular with, though not exclusive to, proponents of agile software development. Some who object to pairing ask, “Why should I pay two programmers to do the work of one?” My response is that, indeed, you should not. I argue that pairing increases quality, understanding of the domain and technology, and techniques (like IDE tricks), and mitigates the impact of lottery risk (one of your expert developers wins the lottery and quits the next day).
What is the long-term value of learning a new keyboard shortcut? How do we measure the overall quality improvement to the product resulting from pairing? How do we measure the impact of your partner not letting you pursue a dead- end approach to solving a difficult problem? One study cites an increase of 40% in effectiveness and speed.* What is the value of mitigating your “lottery risk”? Most of these gains are difficult to measure.
Who should pair with whom? If you’re new to the team, it’s important to find a team member who is knowledgeable. Just as important, find someone who has good interpersonal and coaching skills. If you don’t have much domain experience, pair with a team member who is an expert in the domain.
If you are not convinced, experiment: collaborate with your colleagues. Pair on an interesting, gnarly problem. See how it feels. Try it a few times.
- Two Heads Are Often Better than One
- Two Heads Are Often Better Than One
- Proverb Feeling -- Two heads are always better then one
- Two is better than one
- GYM 100488 L.Two Heads Are Better(链表)
- 290. Many hands are better than one. 三个臭皮匠,赛过诸葛亮
- Why Windows Threads Are Better Than POSIX Threads
- 341. One eyewitness is better than ten hearsays.百闻不如一见
- 341. One eyewitness is better than ten hearsays. 百闻不如一见
- Better to die on one's feet than to live on one's knees.
- POJ 2332 One is good, but two is better 笔记
- 172. Four eyes are more than two. 集思广益
- Why is one loop so much slower than two loops?
- Why is the Asynchronous mode is better than the Synchronous one when handling clients requests?
- Better Late Than Never
- Inblogit, better than wordpress?
- rails better than php ?
- Better Late Than Never!
- Testing Is the Engineering Rigor of Software Development
- 数字精确运算BigDecimal常用方法
- Thinking in States
- 数字精确运算BigDecimal常用方法
- solr 3.5 配置及服务器设置
- Two Heads Are Often Better Than One
- androidstudio/IDEA文件类型图标
- jdbc防止sql注入-PreparedStatement
- jsp上传下载+SmartUpload插件上传
- jQuery缓存操作-cache数据
- mysql加减时间-函数-时间加减
- java socket通信-传输文件图片--传输图片
- 超有用的sql查询语句。项目、面试都有用
- 计算机网络面试笔试题