Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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 contemplating the Monastery: (6)
As of 2014-09-22 20:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (201 votes), past polls