Click here to Skip to main content
15,889,992 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 
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 
Over many, many years of watching and participating in software projects I've seen one constant behavioural pattern emerge when a developer is presented with new code.

They want to rewrite it.

It doesn't actually matter if it's in a language they know or don't know. It doesn't matter if the code is well-written or a work of demented monkeys. It also doesn't matter that there's often not the the resources to rewrite it. It often doesn't even matter if the developer in question actually wrote the code themselves in a past life.

Developers want to rewrite stuff. We just do.

I'd love to know whether it's because

  1. we are arrogant (I don't think so)
  2. everything we write is so bespoke (it shouldn't be - always generalise, right?)
  3. coding is complex and it's easier and quicker to rewrite than work out what it's meant to do (but...how can you rewrite if you don't know what it does...)
  4. code has a shelf life and by the time it's handed off it's obsolete (the job security approach)
  5. it just feels icky and unnatural work on someone else's code because coding is such a personal style, and the sooner we all agree on The One True Style software development productivity will explode

My deep down honest feeling about what the majority of developers would ultimately choose, regardless of whether they know the language or not, is "rewrite it". Large or small, important or trivial, deadlines or no. We deep down want to rewrite it.

I open the floor to debate.
cheers
Chris Maunder

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.