|
Re: What happened to coding standard as a practice?: msg#00045programming.extreme-programming.xp-explained2
Another tip from Steve Hayes is that if you do develop a coding standard, everyone on the team should have given up something that they thought was important. Otherwise it becomes "Person X's" coding standard, rather than the team's coding standard. Barry Unsworth (an Australian politician) once observed "it was a great compromise. Everyone walked away unhappy". If you can't make everyone happy (and I've never found a coding standard that did), it not the worst possible alternative. Also, in the spirit of full disclosure, I picked up the 1-3 idea from the guys at RoleModel (who probably picked it up from someone else). Steve Nigel Thorne wrote: > I don't find official coding standards are required if you are working > with a team of experiences developers. They are an aid to > communication. Most experienced developers write easy to read code. > > I'm a fan of just in time coding standards. They are only needed when > people dissagree strongly about how something should look. A that > point if the conflicting people cannot decide (see below), get the > team together, vote, and write the decision on the wiki (with reasons > behind the decision). > > A tip I picked up from Steve Hayes was to get the two team members in > conflict to vote 1 - 3 on how strongly they feel about the issue. > Strongest wins. If they can't resolve it then all work is stopped > while a quick issue resolution meeting is held. To stop all issues > escalating to a team meeting get the two conflicting people to also > explain to the team why they couldn't decide this issue between > themselves. This is ususally enough that the person that feels least > strongly about the issue backs down. > > cheers > Nigel Thorne > www.nigelthorne.com > > On Mon, 20 Dec 2004 17:42:17 -0500, Jeff Nielsen > <jeff.nielsen-FlpYSvOe4acxC8njFv0dvw@xxxxxxxxxxxxxxxx> wrote: > > I'm sitting here writing a little piece about the benefits of having > a team > > coding standard. I was quoting something I heard Kent say at a > conference > > about how "Standardizing on the smallest scale enables flexibility > at the > > larger scale." > > > > Then I got to wondering why "Coding standard" is no longer a > practice in > > XP2E. I assume it falls under the umbrella of "Shared Code". But > perhaps > > there is/was a general sentiment in the community that having a team > coding > > standard no longer rises to the level of an important practice. > > > > I have found implementing a coding standard to be a very useful > first step > > in getting a team to start working as a team. While sometimes painful, > > having a coding standards discussion encourages people to examine > whether > > they're willing to change their individual behavior for the good of the > > team. Almost no one that I coached has questioned the value of > having a > > team standard in conjunction with collective code ownership. > > > > So I guess I'm asking for others' experience and thoughts. > > > > Jeff Nielsen > > Chief Scientist > > Digital Focus (www.digitalfocus.com) > > > > > > Yahoo! Groups Sponsor > > ADVERTISEMENT > > > > ________________________________ > > Yahoo! Groups Links > > To visit your group on the web, go to: > > http://groups.yahoo.com/group/xpbookdiscussiongroup/ > > > > To unsubscribe from this group, send an email to: > > xpbookdiscussiongroup-unsubscribe-hHKSG33TihhbjbujkaE4pw@xxxxxxxxxxxxxxxx > > > > Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. > > > > *Yahoo! Groups Sponsor* > ADVERTISEMENT > click here > <http://us.ard.yahoo.com/SIG=129nrd8s6/M=298184.5639630.6699735.3001176/D=groups/S=1705007207:HM/EXP=1103684893/A=2434971/R=0/SIG=11eeoolb0/*http://www.netflix.com/Default?mqso=60185400> > > > > > ------------------------------------------------------------------------ > *Yahoo! Groups Links* > > * To visit your group on the web, go to: > http://groups.yahoo.com/group/xpbookdiscussiongroup/ > > * To unsubscribe from this group, send an email to: > > xpbookdiscussiongroup-unsubscribe-hHKSG33TihhbjbujkaE4pw@xxxxxxxxxxxxxxxx > > <mailto:xpbookdiscussiongroup-unsubscribe-hHKSG33TihhbjbujkaE4pw@xxxxxxxxxxxxxxxx?subject=Unsubscribe> > > * Your use of Yahoo! Groups is subject to the Yahoo! Terms of > Service <http://docs.yahoo.com/info/terms/>. > > ------------------------ Yahoo! Groups Sponsor --------------------~--> Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar. Now with Pop-Up Blocker. Get it for free! http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/nhFolB/TM --------------------------------------------------------------------~-> |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: What happened to coding standard as a practice?: 00045, Nigel Thorne |
|---|---|
| Next by Date: | Re: What happened to coding standard as a practice?: 00045, William Wake |
| Previous by Thread: | Re: What happened to coding standard as a practice?i: 00045, Nigel Thorne |
| Next by Thread: | Re: What happened to coding standard as a practice?: 00045, William Wake |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |