Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^5: On Coding Standards and Code Reviews

by puudeli (Pilgrim)
on Feb 19, 2009 at 10:39 UTC ( #745003=note: print w/replies, xml ) Need Help??


in reply to Re^4: On Coding Standards and Code Reviews
in thread On Coding Standards and Code Reviews

I'm not sure allowing each developer to set their own indentation level works very well in teams doing pair programming.

Of course you let the team decide the indentation scheme and then everybody sticks to it. There is no reason to allow chaos :-)

Here's all I have to say about tabs. I expect the source to look the same no matter whose editor, pager, printer or utility I run it through. Literal tabs violate this. The end.

Well, that is one way to see it but it feels too dogmatic for me. To achieve it, you would have to dictate coding standards and enforce them brutally.

The code never looks the same (unless I have total control over it, which I rarely do) and people tend to write code differently using different formatting (opening braces, spaces in array indexing etc.) and some editors provide syntax high-lightning and other tools forcing the looks to be different. The style to aim for is the one that can be changed/converted to the desired format, no matter what scheme or tool was used.

--
seek $her, $from, $everywhere if exists $true{love};

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://745003]
help
Chatterbox?
[Sinistral]: I think that just the sight of his username now causes a downvote storm. I agree, and the gratuitous use of formatting does make reading hard. I've given him +1 on things where there seemed to be actual good advice, but I think the big
[Sinistral]: nail in coffin was the rant against a Schwarzian Transform
[stonecolddevin]: at best, from what i've seen, his knowledge is accurate up to maybe 2002. the sheer volume of words is mostly worthy of a downvote in most cases though i think
[erix]: ITYM Schwartzian Transform :P
[erix]: hey planetscape :)
[planetscape]: howdy stonecolddevin, erix
[Sinistral]: eric Aye. I thought I typed that wrong. All hail Randall! I listen to him on FLOSS Weekly
[Discipulus]: i think his vacuus, trombon like, absence of meaning, joined with a ostentatious style, after many years irritates the most
[erix]: easy to get wrong -- I guess that was sund's point, too :P
[Discipulus]: planetscape welcome back! (or is well comeback?)

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (10)
As of 2017-06-22 20:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (530 votes). Check out past polls.