Re:Hopefully more controversial programming opinions
by cubicle67 on Thursday August 30, 2012 @03:51AM
(#4453525)
I've know my wife for the last 18 or 19 years and it was written before that, so I haven't seen the original. I have seen him debugging code in the evenings though. This consisted of printing out the entire programme (in the DBase sense a "programme" is a single file, but a programme in our sense would be a collection of dbase programmes) and the paper (dot matrix, so it's all connected) trailing all thruought the house as he draws pencil lines all over it to reconstruct programme flow. no indentation at all
The short answer to your question is no, I didn't see any evidence of improved structure or practices at all. All variables global. goto ftw. no procedures/methods/functions at all. He's never even heard of the concept when I tried to explain.
[Edit: managed to get hold of some of the code (see parent) and it looks like I was wrong on the indentation - he did start to use it at some point]
Re:Hopefully more controversial programming opinions
by schmrz on Thursday August 30, 2012 @07:07AM
(#4453992)
I'm not sure if that's scary or awesome. Probably both.
Thanks for sharing!
Re:Hopefully more controversial programming opinions
by slurgfest on Thursday August 30, 2012 @04:54AM
(#4453695)
closely looking at a printout is an underrated archaic practice.
Re:Hopefully more controversial programming opinions
by ams6110 on Thursday August 30, 2012 @08:23AM
(#4454214)
Ah yes "desk checking." When compiles took hours or would only run during the overnight batch cycle. You better believe it was worth spending some time manually reviewing your code.
Re:Hopefully more controversial programming opinions
by notimetorelax on Thursday August 30, 2012 @03:44AM
(#4453513)
To be fair I know of programmers that hack their code until it works and then they forget about it. Next time they need to change something: take the ax and hack away...
I find it hard to believe that someone was maintaining it for 20 years without improving the quality (of the code/design) and making it easier to maintain. Have you seen the code base of the initial version or of the version that is currently being used?