Click here to Skip to main content
14,357,409 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
 
GeneralRe: Why you shouldn't inherit someone else's code... Pin
Eddy Vluggen20-Oct-19 7:14
mveEddy Vluggen20-Oct-19 7:14 
GeneralRe: Why you shouldn't inherit someone else's code... Pin
Greg Utas20-Oct-19 9:02
professionalGreg Utas20-Oct-19 9:02 
GeneralRe: Why you shouldn't inherit someone else's code... Pin
Eddy Vluggen20-Oct-19 9:06
mveEddy Vluggen20-Oct-19 9:06 
GeneralRe: Why you shouldn't inherit someone else's code... Pin
Greg Utas20-Oct-19 10:33
professionalGreg Utas20-Oct-19 10:33 
GeneralRe: Why you shouldn't inherit someone else's code... Pin
Eddy Vluggen20-Oct-19 10:42
mveEddy Vluggen20-Oct-19 10:42 
GeneralRe: Why you shouldn't inherit someone else's code... Pin
Sander Rossel20-Oct-19 12:16
professionalSander Rossel20-Oct-19 12:16 
GeneralRe: Why you shouldn't inherit someone else's code... Pin
Eddy Vluggen20-Oct-19 12:52
mveEddy Vluggen20-Oct-19 12:52 
GeneralRe: Why you shouldn't inherit someone else's code... Pin
Sander Rossel20-Oct-19 10:36
professionalSander Rossel20-Oct-19 10:36 
Not this project.
Unless you want to learn how NOT to do things... Dead | X|

Such inheritance is often a bad deal since you'll be spending two to three times as much time as the old party to fix bugs while the chances of introducing new bugs increases.
Meanwhile, you're working half price since you can't invoice all the hours you're making.
And if you introduce enough bugs you may end up with an unhappy client.
"But the former programmer made a mess out of things!" is not a valid excuse.

Like today I had to "just fix a form, everything worked except a value was not saved to the database."
Opening the form revealed it had all kinds of buttons that did nothing (or worse, did something) and shouldn't be there.
There was binding in place, but everything was inserted directly into the controls.
So I added something to the binding, then the application crashed because you can't do both, then I removed the binding and the designer thought it necessary to reflect that...
Long story short, after trying to make it work for about an hour I started over, finding not even the database schema was correct.
It took me about four hours in total (which should've been a "quick fix"), which is more than the customer is going to pay me for this one Roll eyes | :rolleyes:
If that was all, I could've gotten away with it, but this is one of many such changes.
Eddy Vluggen wrote:
that's not a good generic reason for everyone to decline such an inheritance
Of course.
I inherited is as well, after all.
You just need a damn good reason (and I know a lot of companies that simply don't, ever) Roll eyes | :rolleyes:

GeneralRe: Why you shouldn't inherit someone else's code... Pin
Eddy Vluggen20-Oct-19 10:52
mveEddy Vluggen20-Oct-19 10:52 
GeneralRe: Why you shouldn't inherit someone else's code... Pin
Sander Rossel20-Oct-19 11:08
professionalSander Rossel20-Oct-19 11:08 
GeneralRe: Why you shouldn't inherit someone else's code... Pin
Eddy Vluggen20-Oct-19 11:21
mveEddy Vluggen20-Oct-19 11:21 
GeneralRe: Why you shouldn't inherit someone else's code... Pin
Sander Rossel20-Oct-19 11:39
professionalSander Rossel20-Oct-19 11:39 
GeneralRe: Why you shouldn't inherit someone else's code... Pin
Eddy Vluggen20-Oct-19 12:03
mveEddy Vluggen20-Oct-19 12:03 
GeneralRe: Why you shouldn't inherit someone else's code... Pin
Sander Rossel20-Oct-19 12:14
professionalSander Rossel20-Oct-19 12:14 
GeneralRe: Why you shouldn't inherit someone else's code... Pin
Eddy Vluggen20-Oct-19 12:41
mveEddy Vluggen20-Oct-19 12:41 
GeneralRe: Why you shouldn't inherit someone else's code... Pin
Member 798912220-Oct-19 10:17
memberMember 798912220-Oct-19 10:17 
GeneralRe: Why you shouldn't inherit someone else's code... Pin
Sander Rossel20-Oct-19 10:40
professionalSander Rossel20-Oct-19 10:40 
GeneralRe: Why you shouldn't inherit someone else's code... Pin
Greg Utas20-Oct-19 10:42
professionalGreg Utas20-Oct-19 10:42 
GeneralRe: Why you shouldn't inherit someone else's code... Pin
charlieg21-Oct-19 14:10
membercharlieg21-Oct-19 14:10 
GeneralRe: Why you shouldn't inherit someone else's code... Pin
V.20-Oct-19 21:49
professionalV.20-Oct-19 21:49 
GeneralRe: Why you shouldn't inherit someone else's code... Pin
Abbas A. Ali20-Oct-19 21:51
professionalAbbas A. Ali20-Oct-19 21:51 
GeneralRe: Why you shouldn't inherit someone else's code... Pin
Davyd McColl21-Oct-19 0:47
memberDavyd McColl21-Oct-19 0:47 
GeneralRe: Why you shouldn't inherit someone else's code... Pin
glennPattonWork21-Oct-19 1:20
professionalglennPattonWork21-Oct-19 1:20 
GeneralRe: Why you shouldn't inherit someone else's code... Pin
Gary Wheeler21-Oct-19 3:16
memberGary Wheeler21-Oct-19 3:16 
Generalbloated code base begs for semantic liposuction ? takes a special blade Pin
BillWoodruff20-Oct-19 3:10
mveBillWoodruff20-Oct-19 3:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.