in reply to On maintaining old code and the battle of styles...

Interesting question, vladb.

I'm in a similar situation, as I develop code with 3-4 other people. What I've noticed is that when we write our own code, it tends to be in the style in which we're comfortable. When we collaborate, we work in a kind of group style(that none of us is really happy nor unhappy with). As you're not collaborating on this, I'd suggest you do it in the style that you're comfortable with - you're less likely to make mistakes, and you'll make progress more quickly. Just work hard to make sure you don't fall into your first or second traps: poor documentation/design, and all those who come to the module after you shouldn't have a problem. Besides, who's to say they won't like your coding style better? Would you really want to deny them an oasis in a desert of code? =-)

-beernuts

  • Comment on Re: On maintaining old code and the battle of styles...