Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

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

by Biker (Priest)
on Apr 25, 2002 at 14:45 UTC ( #161971=note: print w/ replies, xml ) Need Help??


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

  • Do you intend to keep the ownership for 'the future'? -- Apply your own style whenever you make changes and/or additions. Potentially, work through the module applying your style all over. (You will learn a lot more about the module in the process.)
  • Do you think you will soon hand this module over to someone else? -- Follow the same style as the original author.
  • Do you think the module is mature enough to not need any more significant development? -- Consider following the same style as the original author.


Everything went worng, just as foreseen.


Comment on Re: On maintaining old code and the battle of styles...
Re: Re: On maintaining old code and the battle of styles...
by pdcawley (Hermit) on Apr 26, 2002 at 06:40 UTC
    Please, if you do decide to change the style, then change it everywhere at once. Especially the parameter passing stuff, where consistency is really important. I've had to maintain code that was written in a mishmash of styles and it's just painful.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://161971]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2014-10-31 04:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (214 votes), past polls