Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re^2: code-sharing at work.

by geekgrrl (Pilgrim)
on Mar 24, 2005 at 16:48 UTC ( #442111=note: print w/replies, xml ) Need Help??

in reply to Re: code-sharing at work.
in thread code-sharing at work.

I totally agree that it is sometimes best to leave code alone. I've become much more "if it ain't broke" the longer I've been coding. I hate the idea of "starting from scratch." I know it is prone to failure and you have to refix all the bugs you spent hours fixing in the old version.

Of course, sometimes the code is just so clunky and horrendous, it needs refactoring NOW. I guess this would be the argument for maintainability.

But your method sounds pretty interesting - to add the new stuff, but leave the old alone. The dangerous thing is if someone else needs to update the code they have to update it in two different places or risk having different behaviors depending on which code they use. That of course depends a lot on communication, documentation and so forth. I guess I still am enough of a change-happy person to argue that the new code should replace the old as well.


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://442111]
and the monks are chillaxin'...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2018-06-23 10:15 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (125 votes). Check out past polls.