Topic: 有谁做过pair progamming的有事相求

  Print this page

1.有谁做过pair progamming的有事相求 Copy to clipboard
Posted by: emarket
Posted on: 2004-04-21 22:28

到底要注意些啥,有没有比较好的资料看

2.Re:有谁做过pair progamming的有事相求 [Re: emarket] Copy to clipboard
Posted by: wes109
Posted on: 2004-04-22 08:30

如果对方是个MM,请注意密切保持在一定距离范围内,以提高unit test的成功率

so法国香水是必需di

楼下继续。。。

3.Re:有谁做过pair progamming的有事相求 [Re: emarket] Copy to clipboard
Posted by: 九佰
Posted on: 2004-04-22 09:06

WinkTounge

4.Re:有谁做过pair progamming的有事相求 [Re: 九佰] Copy to clipboard
Posted by: tier3
Posted on: 2004-04-22 09:36

hope it helps. Smile

PairProgramming.ppt (609.0k)

5.Re:有谁做过pair progamming的有事相求 [Re: emarket] Copy to clipboard
Posted by: why
Posted on: 2004-04-23 01:48

小的做过,折腾了两个多月

当时四人交替分两组
可惜大哥大太鸭霸
JJ总不可以加班
另一位老人家的开发水平不够
(抄也不懂抄,不过documentation 倒是做得很出色)

也没有怎样按PairProgramming的本子辨事的
Design都是大哥大说过才算数的,
他老是埋怨少东要玩这种不切实际的PP游戏啦

所以
不堪提啦Sad

小的觉得
组员的素质必须匹配 (和老人家PAIR时90%时间都是他在看小的在做或问小的怎样做)
不可以有个人主义 (废话!PP就是要去除个人主义)
做的方案不可以紧急 (否则又是 one man band 大小通杀)

暂时这样

6.Re:有谁做过pair progamming的有事相求 [Re: emarket] Copy to clipboard
Posted by: floater
Posted on: 2004-04-23 02:20

I've done it from time to time. Like why said, 组员的素质必须匹配 or make up for each other. Another key point, listen, listen, listen(of course, if your partner doesn't speak right, over the time you would feel bored).

Otherwise, runnnn........

7.Re:有谁做过pair progamming的有事相求 [Re: emarket] Copy to clipboard
Posted by: emarket
Posted on: 2004-04-23 18:07

今天有幸和一位世界级的XP大师作 pair programming, 不过自己表现的太差了,最后人家都开始 哼 小曲了。 惭愧呀,虽然看过很多design pattern和XP方面的书,但是在大师面前原型必露了,只是死记硬背,不懂得灵活变通........ 最痛苦的事情是 看过 “java 与 模式“ 这本书,中文的概念太老牢固了,很多中国古典故事没法用英文表达....

看到人家的XP的team, 真是羡慕,今天算是见到了什么是 设计了

看来以后还有太多的路要走, 只能祝自己好运了......

8.Re:有谁做过pair progamming的有事相求 [Re: emarket] Copy to clipboard
Posted by: Jove
Posted on: 2004-04-23 18:46

comfort, 那家伙或许也被人哼过小曲 Big Smile

顺便一问,那位施主是....?
emarket wrote:
今天有幸和一位世界级的XP大师作 pair programming, 不过自己表现的太差了,最后人家都开始 哼 小曲了。 惭愧呀,虽然看过很多design pattern和XP方面的书,但是在大师面前原型必露了,只是死记硬背,不懂得灵活变通........ 最痛苦的事情是 看过 “java 与 模式“ 这本书,中文的概念太老牢固了,很多中国古典故事没法用英文表达....
我觉得Design Pattern Java WorkBook要比阎博士的那本好,至少更简洁
看到人家的XP的team, 真是羡慕,今天算是见到了什么是 设计了

看来以后还有太多的路要走, 只能祝自己好运了......

9.Re:有谁做过pair progamming的有事相求 [Re: Jove] Copy to clipboard
Posted by: emarket
Posted on: 2004-04-23 20:39

谢谢了,现在极度沮丧中,发掘自己这几年似乎都是白学了东西了,平时自称design pattern很熟悉,但是用的时候却跟XX似的, 看来身边的人对你真的很重要,虽然我看了很多,但是缺乏交流,某些理解甚至是误入歧途....

反省中Smile

那位是谁,不方便透露了,太丢人了。。。。

Jove wrote:
comfort, 那家伙或许也被人哼过小曲 Big Smile

顺便一问,那位施主是....?
我觉得Design Pattern Java WorkBook要比阎博士的那本好,至少更简洁


10.Re:有谁做过pair progamming的有事相求 [Re: emarket] Copy to clipboard
Posted by: DraculaCwg
Posted on: 2004-04-24 02:21

很想知道高人到底是誰
還有您怎麼有這種機運^^

11.Re:有谁做过pair progamming的有事相求 [Re: emarket] Copy to clipboard
Posted by: floater
Posted on: 2004-04-25 10:47

emarket wrote:
...死记硬背...

Yea, this is how I feel in here(although I am not famous at all). One way to improve is to understand the motivation and reasons for the ways we do things, not just swallow them.

12.Re:有谁做过pair progamming的有事相求 [Re: emarket] Copy to clipboard
Posted by: wes109
Posted on: 2004-04-26 10:01

emarket wrote:
自己这几年似乎都是白学了东西了,平时自称design pattern很熟悉,但是用的时候却跟XX似的, 看来身边的人对你真的很重要,虽然我看了很多,但是缺乏交流,某些理解甚至是误入歧途....



严重同意。。。

13.Re:有谁做过pair progamming的有事相求 [Re: wes109] Copy to clipboard
Posted by: linux_china
Posted on: 2004-04-26 10:13

最近看了机械工业出版社的《结队编程技术》,很受启发。正如why所说的,程序员的素质很重要!目前打算实施一下! Smile
我个人觉得XP在中国很有市场!

14.Re:有谁做过pair progamming的有事相求 [Re: linux_china] Copy to clipboard
Posted by: emarket
Posted on: 2004-04-26 10:28

linux_china wrote:
最近看了机械工业出版社的《结队编程技术》,很受启发。正如why所说的,程序员的素质很重要!目前打算实施一下! Smile
我个人觉得XP在中国很有市场!


我的感觉,中国人不适合XP,
原因有三:
1. 交流,中国人喜欢独立思维,XP得工作环境是很吵得,我参观过一家XP 团队,他们就跟打麻将一样,工作像是打牌。
2. 简单, 中国人一向喜欢复杂化思维, 简单化思维 会被人嘲笑为 头脑简单
3. 反馈, 国人一向 误解为 XP 就是几个程序员之间的事情,实则不然,XP是整个公司文化的一场革命,不同意XP得就走人,尤其是Businese 部门。不过中国的公司一向搞人际关系,尤其是Businese部门的人的权利大于Developement部门的,如果他们还是老一套,用户反馈跟不上,XP一样要失败的。
4.勇气, 这点俺不好说:)

15.Re:有谁做过pair progamming的有事相求 [Re: wes109] Copy to clipboard
Posted by: emarket
Posted on: 2004-04-26 10:46

wes109 wrote:
严重同意。。。

你同意什么?

16.Re:有谁做过pair progamming的有事相求 [Re: emarket] Copy to clipboard
Posted by: why
Posted on: 2004-04-26 11:21

>>> 1. 交流,中国人喜欢独立思维,XP得工作环境是很吵得
的确比较吵,不过,虽然小的不爱说话,因此请团队的成员当小的是哑的,而小的尽量在纸上画图,Pair Programming仍然可以运作的
最少小的和声线甜美的意大利JJ交流得很不错啦!从她身上学到一些unit testing的要诀哩
(对啦!大家猜对了,JJ的身型也像声线甜美的女高音Big Smile)

中国人始终是苦干型的多,所以小的同意,中国人未必适合XP啦Sad

17.Re:有谁做过pair progamming的有事相求 [Re: emarket] Copy to clipboard
Posted by: linux_china
Posted on: 2004-04-26 11:52

emarket真是一针见血指出了中国人的中伤。为了弘扬我中华精神,我有点小意见。 Smile
1 交流: 中国人喜欢独立思维,这应该是优点吧? 好多事情,往往需要自己独立思维,但这不妨碍交流啊。 大家交流的时候,是把自己的想法拿出来交流,如果每个人没有想法,那也不用交流啦,也不是要在交流的时候思维吧。能独立思维,在能把自己的想法和别人交流,这应该更好吧。这一点我非常赞赏数学家陈省声,在中央电视台做访谈时,他这样说过,虽然我在和你交谈,但我仍然在思考我的数学问题。可堪称独立思维的武林盟主啦,随时随地可独立思考。 Smile
2 简单:中国是喜欢负责思维,好像想的简单,就是个白痴是的,这这也反映我们思维缜密吗! 只有不哗众取宠,应该对xp不会有影响吧?
3 反馈:这一点我非常赞同。 XP是整个公司文化的一场革命,领导不光能搞好关系,更重要的是知识,领导团队,分工合作。 这种只有嘴没有知识的南郭经理不会混多久的。再说中国人最恨南郭先生啦,这种现象不会常下去的。
4 勇气: 我理解的不多,没法发表意见。 Smile 不过中国人加班勇气挺高的。

以上是我个人的观点,对xp理解不是很深,就当是胡说一番。 Smile 中国人历来有好多优良传统,讲谦虚,实事求是,宽厚待人等等,这对xp应该是有帮助的。不过现在好像这些传统都没啦! Sad

18.Re:有谁做过pair progamming的有事相求 [Re: emarket] Copy to clipboard
Posted by: linux_china
Posted on: 2004-04-26 11:58

搜啦一下论坛,好像nothing发过关于xplanner的帖子,个人认为xplanner非常不错,极限编程的体系和工具大家都比较熟啦,这个管理工具也挺不错的,对项目有详细的规划。 intellij有个xplanner的plugin,这样就更方便啦,只要打开intellij,你的任务就一目了然,再结合jira(intellij也有插件),bug也跟踪也很方便。 Smile

19.Re:有谁做过pair progamming的有事相求 [Re: emarket] Copy to clipboard
Posted by: wes109
Posted on: 2004-04-26 12:11

emarket wrote:
你同意什么?


于偶心有戚戚焉!
------------------------
发现自己进步太慢,又太难。。。

学得倒挺多,真正用起来的太少

样样都懂,样样不精

真是应了李维那句“就算是屠龙刀,可能你拿都拿不动,拿起来也可能伤了你自己”
------
练内功太难

但我觉得环境只是一个方面,毕竟我们还有网络,交流无界限

君不闻:行成于思,毁于随。

XP不可能放之四海皆准

厉害的人可以在最短的时间学习别人的方法,运用自如,从中受益

真正厉害的人博众家之长,创造适合自己的方法,做到恰到好处
------
偶不需要高钙奶片,就喜欢萝卜白菜

靠,who敢说偶发育不良!

20.Re:有谁做过pair progamming的有事相求 [Re: emarket] Copy to clipboard
Posted by: emarket
Posted on: 2004-04-26 14:42

所以,我决定定制中国人的XP
CXP: Chinese eXtreme Programming

适用对象:在中国大陆或港澳台出生得程序员 (新加坡的不算,都是香蕉人,外面是黄的,里面实际上是白的)

四个value: 

  1.独立思考+频繁交流:两手抓,两手都要硬。

  2.快速设计:不管是simple 还是 complex 时间永远都是第一位的,只要能在短期内提出设计,不管是simple还是complex,我们都要。不管是白猫,黑猫,只要能抓老鼠就是好猫。

3.打破砂锅:与其去让用户给自己反馈,不如培养自己(程序员)追问的能力,中国人都是腼腆的,非要用打破砂锅的方法,方能得到反馈!
  4.批评与自我批评: 鼓励的太多有些程序员就上天了,我觉得勇气不符合中国人的思维,还是自我批评实惠点,大家要勇于认识自己的缺陷,这才是整个Team提升的动力, 这一点在延安是得到证实的!

12个practice
正在考虑中,大家多多发言

21.Re:有谁做过pair progamming的有事相求 [Re: emarket] Copy to clipboard
Posted by: linux_china
Posted on: 2004-04-26 14:50

5 坚决打击南郭经理或程序员,正如蔡学镛在《java夜未眠》描述的经理那样,让他们无处可藏。 Smile
6 提高程序员的修养,养成助人为乐,谦虚好学的精神!

我想到后再写!BTW: hibernate 2.1.3可以下载啦,据说这是2.1.X的最终版啦!

22.Re:有谁做过pair progamming的有事相求 [Re: emarket] Copy to clipboard
Posted by: emarket
Posted on: 2004-04-26 14:52

1. 如果独立思维好,我们就把独立思维发挥到一个极限,再跟你交流的时候,我也在独立思考! 就像陈省深一样

23.Re:有谁做过pair progamming的有事相求 [Re: emarket] Copy to clipboard
Posted by: emarket
Posted on: 2004-04-26 14:58

//hehe 大家的热情这么高,要么我们开个 CXP 板来讨论讨论

24.Re:有谁做过pair progamming的有事相求 [Re: emarket] Copy to clipboard
Posted by: linux_china
Posted on: 2004-04-26 15:07

7 定期检查程序员的个人卫生,规定每天刷牙两次,两天换一次内裤,四天洗一次澡。 既然结队编程吗,得考虑别人的感受(中国人很少使用香水)!如果有违规的,当众执行! Smile 好多程序员不注意这些,反觉得邋遢很cool,这不值得提倡。考虑事件情况(工作较忙,可降低要求)。

25.Re:有谁做过pair progamming的有事相求 [Re: emarket] Copy to clipboard
Posted by: Jove
Posted on: 2004-04-26 15:07

WAPI..

开玩笑的, 支持中国特色的XP!

26.Re:有谁做过pair progamming的有事相求 [Re: linux_china] Copy to clipboard
Posted by: stevendu
Posted on: 2004-04-26 16:50

linux_china wrote:
7 定期检查程序员的个人卫生,规定每天刷牙两次,两天换一次内裤,四天洗一次澡。 既然结队编程吗,得考虑别人的感受(中国人很少使用香水)!如果有违规的,当众执行! Smile 好多程序员不注意这些,反觉得邋遢很cool,这不值得提倡。考虑事件情况(工作较忙,可降低要求)。

严重支持!!!

27.Re:有谁做过pair progamming的有事相求 [Re: emarket] Copy to clipboard
Posted by: emarket
Posted on: 2004-04-26 17:27

俺一直坚持每天洗澡换内裤

28.Re:有谁做过pair progamming的有事相求 [Re: emarket] Copy to clipboard
Posted by: jigsaw
Posted on: 2004-04-26 17:52

中国男人少用香水那是因为中国男人的体味没有老外那么夸张啦

29.Re:有谁做过pair progamming的有事相求 [Re: emarket] Copy to clipboard
Posted by: floater
Posted on: 2004-04-27 01:21

emarket wrote:
我的感觉,中国人不适合XP,
原因有三:
1. 交流,中国人喜欢独立思维,XP得工作环境是很吵得,我参观过一家XP 团队,他们就跟打麻将一样,工作像是打牌。
2. 简单, 中国人一向喜欢复杂化思维, 简单化思维 会被人嘲笑为 头脑简单
3. 反馈, 国人一向 误解为 XP 就是几个程序员之间的事情,实则不然,XP是整个公司文化的一场革命,不同意XP得就走人,尤其是Businese 部门。不过中国的公司一向搞人际关系,尤其是Businese部门的人的权利大于Developement部门的,如果他们还是老一套,用户反馈跟不上,XP一样要失败的。
4.勇气, 这点俺不好说:)

No, I differ here. I think these are exactly the problems we have. If we want to do xp, we have to overrun these, not evade them.
1. XP得工作环境是很吵得, not necessarily. I personally do pair programming many times, most of them were done actually quite calmly.
2. xp actually is not that simple. And even if it's simple, being right and good is nothing to be laughable at all. On the other hand, if it's wrong or awkward later, that's laughable. Once, when we try to expand a field from 3 to 4 chars, we made a mistake and gave someone 17 million dollars which belongs to someone else, we laughed this for 3 days.
3. Same here, human nature.
4. Courage is needed, as usual. There is an old saying, you lead, follow, or get out the way.

My personal exp:
1. If you believe you do something right, do it and let others laugh.
2. If you think there is better things out there, learn them and don't be discouraged, they just pass it before you. Even a broken clock can be right twice a day.

30.Re:有谁做过pair progamming的有事相求 [Re: emarket] Copy to clipboard
Posted by: linux_china
Posted on: 2004-04-29 13:32

跟同事商量一下,反对居多,认为浪费,还有心里因素吧! Smile
中国人好像很不愿意合作!
建议看看Addison Wesley的Pair Programming Illuminated,启发不小!
只好自己大呼: 我要结队编程!
培训教程: http://www4.ncsu.edu/~lawilli3/PP/tutorial.ppt

31.Re:有谁做过pair progamming的有事相求 [Re: emarket] Copy to clipboard
Posted by: emarket
Posted on: 2004-04-29 15:09

我一天用一半的时间写程序,一般的时间看东西,要是跟你结对编成,你老看着我,我没法做自己的事情了:)

32.Re:有谁做过pair progamming的有事相求 [Re: emarket] Copy to clipboard
Posted by: linux_china
Posted on: 2004-04-29 16:12

别人看你,那是你自己的感受。习惯就好啦!
一天用一半的时间编程,那你是幸福啦,结队编程应该每天工作在2/3左右。其余时间可自己处理,进行交谈,效果更好。正是像你这样,结队才能更好,动不动上上网,检查邮件,很难集中思维的,程序出错也难免的。如果真的要结队的话,有些学习的东西就得其他时间完成啦,然后共同交流,我认为效果更好。

33.Re:有谁做过pair progamming的有事相求 [Re: linux_china] Copy to clipboard
Posted by: floater
Posted on: 2004-04-30 00:58

linux_china wrote:
跟同事商量一下,反对居多,认为浪费,还有心里因素吧! Smile
中国人好像很不愿意合作!
建议看看Addison Wesley的Pair Programming Illuminated,启发不小!
只好自己大呼: 我要结队编程!
培训教程: http://www4.ncsu.edu/~lawilli3/PP/tutorial.ppt

I found most of chinese who don't like this style has these problems:
1. not willing to do things better, just go with the flow.
2. afraid of making mistakes, 心里因素.
Once they benefit from pp, they are willing to do it. The benefit I see:
1. know a different way(probably better) to do things.
2. combined knowledge make things faster, everyone has his own tricks.
Remember, pp is not mentoring!

34.Re:有谁做过pair progamming的有事相求 [Re: emarket] Copy to clipboard
Posted by: floater
Posted on: 2004-04-30 01:03

emarket wrote:
我一天用一半的时间写程序,一般的时间看东西,要是跟你结对编成,你老看着我,我没法做自己的事情了:)

I am doing the half-half too. I believe it should be 1/3 coding, 2/3 r&d.

My most productive time is cigarette breaks, when new ideas come out, new messages are being passed around among colleagues.

35.Re:有谁做过pair progamming的有事相求 [Re: emarket] Copy to clipboard
Posted by: zyzhang
Posted on: 2004-05-25 19:46

Some practices on pair programming:

I agree that pairing programming is a challenge when implementing in the real world. In my company, we only do pair programming when needed(can improve the productivity), one criteria is when the user story is complex and need the combination different skill strengthes from different developers.The first thing is making some little effort on design(drawn CRC cards,or UML sketch), and then quickly go into the coding activity, each developer works on the area he holds strong experience, and express some best practices he knows..., for trivial tickets(maping user story), we donot do pair programming. Currently ,This way works fine in my company.

XP is just some principles, and generally, need customization to fit in the process of specific company. XP is also unformal compared with RUP for complex projects.

.....

36.Re:有谁做过pair progamming的有事相求 [Re: zyzhang] Copy to clipboard
Posted by: emarket
Posted on: 2004-05-25 21:46

pair programming得目的不是 发挥各自的所长时才用, pair programming是为了ensure continues code review. 所以每一行都应该由两个人写。 像技术得传染只是个副产品。

xp 是一种 agile development 方法,实现了agile宣言, 强调 交流,反馈,简单,勇气 四个 value 。同时 xp又被具体的12 practice所表现。 当然我们可以有
local adaption, 但是不能偏离的太远,“扬弃” 的做法也是不可取的。否则就不是XPl了。

zyzhang wrote:
Some practices on pair programming:

I agree that pairing programming is a challenge when implementing in the real world. In my company, we only do pair programming when needed(can improve the productivity), one criteria is when the user story is complex and need the combination different skill strengthes from different developers.The first thing is making some little effort on design(drawn CRC cards,or UML sketch), and then quickly go into the coding activity, each developer works on the area he holds strong experience, and express some best practices he knows..., for trivial tickets(maping user story), we donot do pair programming. Currently ,This way works fine in my company.

XP is just some principles, and generally, need customization to fit in the process of specific company. XP is also unformal compared with RUP for complex projects.

.....


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923