Click here to Skip to main content
15,890,185 members

Survey Results

You inherit code in a language you're not familiar. Do you...

Survey period: 23 Jun 2014 to 30 Jun 2014

A hypothetical of 4 choices.

OptionVotes% 
Learn the new language inside and out and get to work38417.49
Learn enough to do what's needed, but no more1,46966.92
Find someone who does know the language and pass it to them1135.15
Rewrite it23210.57



 
GeneralBad survey Pin
BeastSS30-Jun-14 11:35
BeastSS30-Jun-14 11:35 
GeneralLearn Inside and Out Based on Its Potential Pin
Ravimal Bandara25-Jun-14 19:51
Ravimal Bandara25-Jun-14 19:51 
GeneralI like the answers that this guy gave back in the days: PinPopular
Erik Rude24-Jun-14 4:59
Erik Rude24-Jun-14 4:59 
GeneralIt depends. PinPopular
CPallini23-Jun-14 21:29
mveCPallini23-Jun-14 21:29 
GeneralRe: It depends. Pin
Jacques Sineriz23-Jun-14 22:30
professionalJacques Sineriz23-Jun-14 22:30 
GeneralRe: It depends. Pin
CPallini23-Jun-14 22:35
mveCPallini23-Jun-14 22:35 
GeneralRe: It depends. Pin
I.explore.code23-Jun-14 23:34
I.explore.code23-Jun-14 23:34 
GeneralRe: It depends. Pin
CPallini23-Jun-14 23:40
mveCPallini23-Jun-14 23:40 
GeneralRe: It depends. Pin
KarstenK24-Jun-14 1:10
mveKarstenK24-Jun-14 1:10 
GeneralRe: It depends. Pin
Nelek24-Jun-14 1:39
protectorNelek24-Jun-14 1:39 
GeneralRe: It depends. Pin
KarstenK24-Jun-14 2:07
mveKarstenK24-Jun-14 2:07 
GeneralRe: It depends. Pin
Nelek24-Jun-14 2:49
protectorNelek24-Jun-14 2:49 
GeneralRe: It depends. Pin
CPallini24-Jun-14 1:39
mveCPallini24-Jun-14 1:39 
GeneralRe: It depends. Pin
Member 1062517630-Jun-14 8:40
Member 1062517630-Jun-14 8:40 
GeneralRewrite and learn Pin
Plamen Dragiyski23-Jun-14 21:29
professionalPlamen Dragiyski23-Jun-14 21:29 
GeneralRe: Rewrite and learn Pin
Kevin Bewley23-Jun-14 23:55
Kevin Bewley23-Jun-14 23:55 
GeneralRe: Rewrite and learn Pin
Herbie Mountjoy30-Jun-14 4:23
professionalHerbie Mountjoy30-Jun-14 4:23 
GeneralIt's the only time i'll switch Pin
Steven Nicholas23-Jun-14 19:57
Steven Nicholas23-Jun-14 19:57 
GeneralTotally depends on context and risk Pin
Seth Morris23-Jun-14 9:26
Seth Morris23-Jun-14 9:26 
Of course, most things depend on context.

Is this mission-critical code? What stage in the project lifecycle are we at? Is the purpose of the code well documented? Is the mechanism well understood? Is there someone else in the organization who knows the language well and can evaluate my changes if I make them? What is the fall-back if my changes have to be undone right before (or right after) ship? Is the language it's in one that the team generally uses or is this some outlier? Do we have an established test plan and committed QA resources for this code I can use to validate my changes? Etc.

Rewriting incurs a large risk in the short term. Making changes in a language I don't know well enough incurs a risk that's hard to measure and ameliorate. Code that goes out to the field can be harder to repair than something run on our servers or run as an internal tool.

Like most project decisions, it comes down to risk assessment and risk management.


But all other things being equal, I'd probably do what I needed to change it in the language as-is, unless I had time and luxury to rewrite it. Unless it looked like fun to rewrite. Then I'd totally do that Smile | :)
GeneralRe: Totally depends on context and risk Pin
ProfessorDan23-Jun-14 10:31
ProfessorDan23-Jun-14 10:31 
GeneralLearn enough of the language to work with the code, for now... Pin
Silvabolt23-Jun-14 7:34
Silvabolt23-Jun-14 7:34 
GeneralIf I have to maintain it, then I'll try to pass the buck. Pin
jkirkerx23-Jun-14 10:17
professionaljkirkerx23-Jun-14 10:17 
GeneralA mix Pin
Nelek23-Jun-14 7:14
protectorNelek23-Jun-14 7:14 
GeneralMake it work and no more Pin
jgakenhe23-Jun-14 4:16
professionaljgakenhe23-Jun-14 4:16 
GeneralThis is actually a trick question PinPopular
Chris Maunder23-Jun-14 4:04
cofounderChris Maunder23-Jun-14 4:04 

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.