Click here to Skip to main content
15,904,877 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 6:14
professionalEddy Vluggen20-Oct-19 6:14 
GeneralRe: Why you shouldn't inherit someone else's code... Pin
Greg Utas20-Oct-19 8:02
professionalGreg Utas20-Oct-19 8:02 
GeneralRe: Why you shouldn't inherit someone else's code... Pin
Eddy Vluggen20-Oct-19 8:06
professionalEddy Vluggen20-Oct-19 8:06 
GeneralRe: Why you shouldn't inherit someone else's code... Pin
Greg Utas20-Oct-19 9:33
professionalGreg Utas20-Oct-19 9:33 
GeneralRe: Why you shouldn't inherit someone else's code... Pin
Eddy Vluggen20-Oct-19 9:42
professionalEddy Vluggen20-Oct-19 9:42 
GeneralRe: Why you shouldn't inherit someone else's code... Pin
Sander Rossel20-Oct-19 11:16
professionalSander Rossel20-Oct-19 11:16 
GeneralRe: Why you shouldn't inherit someone else's code... Pin
Eddy Vluggen20-Oct-19 11:52
professionalEddy Vluggen20-Oct-19 11:52 
GeneralRe: Why you shouldn't inherit someone else's code... Pin
Sander Rossel20-Oct-19 9:36
professionalSander Rossel20-Oct-19 9: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 9:52
professionalEddy Vluggen20-Oct-19 9:52 
GeneralRe: Why you shouldn't inherit someone else's code... Pin
Sander Rossel20-Oct-19 10:08
professionalSander Rossel20-Oct-19 10:08 
GeneralRe: Why you shouldn't inherit someone else's code... Pin
Eddy Vluggen20-Oct-19 10:21
professionalEddy Vluggen20-Oct-19 10:21 
GeneralRe: Why you shouldn't inherit someone else's code... Pin
Sander Rossel20-Oct-19 10:39
professionalSander Rossel20-Oct-19 10:39 
GeneralRe: Why you shouldn't inherit someone else's code... Pin
Eddy Vluggen20-Oct-19 11:03
professionalEddy Vluggen20-Oct-19 11:03 
GeneralRe: Why you shouldn't inherit someone else's code... Pin
Sander Rossel20-Oct-19 11:14
professionalSander Rossel20-Oct-19 11:14 
GeneralRe: Why you shouldn't inherit someone else's code... Pin
Eddy Vluggen20-Oct-19 11:41
professionalEddy Vluggen20-Oct-19 11:41 
GeneralRe: Why you shouldn't inherit someone else's code... Pin
kalberts20-Oct-19 9:17
kalberts20-Oct-19 9:17 
GeneralRe: Why you shouldn't inherit someone else's code... Pin
Sander Rossel20-Oct-19 9:40
professionalSander Rossel20-Oct-19 9:40 
GeneralRe: Why you shouldn't inherit someone else's code... Pin
Greg Utas20-Oct-19 9:42
professionalGreg Utas20-Oct-19 9:42 
GeneralRe: Why you shouldn't inherit someone else's code... Pin
charlieg21-Oct-19 13:10
charlieg21-Oct-19 13:10 
GeneralRe: Why you shouldn't inherit someone else's code... Pin
V.20-Oct-19 20:49
professionalV.20-Oct-19 20:49 
GeneralRe: Why you shouldn't inherit someone else's code... Pin
Abbas A. Ali20-Oct-19 20:51
professionalAbbas A. Ali20-Oct-19 20:51 
GeneralRe: Why you shouldn't inherit someone else's code... Pin
Davyd McColl20-Oct-19 23:47
Davyd McColl20-Oct-19 23:47 
GeneralRe: Why you shouldn't inherit someone else's code... Pin
glennPattonWork321-Oct-19 0:20
professionalglennPattonWork321-Oct-19 0:20 
GeneralRe: Why you shouldn't inherit someone else's code... Pin
Gary Wheeler21-Oct-19 2:16
Gary Wheeler21-Oct-19 2:16 
Generalbloated code base begs for semantic liposuction ? takes a special blade Pin
BillWoodruff20-Oct-19 2:10
professionalBillWoodruff20-Oct-19 2: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.