Re:Ask HN: Do you have any code currently in production that...
by mattgibson on Thursday February 13, 2014 @11:09AM
(#7232067)
If you're not ashamed of it, then you've learned nothing since you wrote it.
[ Parent
| on HN ]
Re:Ask HN: Do you have any code currently in production that...
by kps on Thursday February 13, 2014 @12:20PM
(#7232615)
I don't agree. ‘Shame’ would require substandard work, indefensible decisions, incompetence — and I'm pretty sure none of my Commodore PET BASIC programs survive.
Is there code I would write differently today? Certainly, plenty. That's nothing to be ashamed of. Time passes; tools change, environments change, requirements change, and available knowledge changes, including papers published by people who have explored relevant problems in different ways. Is there work I would have done differently if not for management constraints? A little, but that's not for me to be ashamed of. Is everything I've ever done the best possible under the circumstances? Undoubtedly not. Is that shameful? No, that's programming.
By June 1949 people had begun to realize that it was not so
easy to get a program right as had at one time appeared. I
well remember when this realization first came on me with full
force. The EDSAC was on the top floor of the building and the
tape-punching and editing equipment one floor below on a
gallery that ran round the room in which the differential
analyser was installed. I was trying to get working my first
non-trivial program, which was one for the numerical
integration of Airy's differential equation. It was on one of
my journeys between the EDSAC room and the punching equipment
that “hesitating at the angles of stairs” the realization came
over me with full force that a good part of the remainder of
my life was going to be spent in finding errors in my own
programs.
— Maurice Wilkes, Memoirs of a Computer Pioneer, MIT Press, 1985, p. 145
Re:Ask HN: Do you have any code currently in production that...
by mattgibson on Thursday February 13, 2014 @04:03PM
(#7234317)
That's fair. 'Shame' is a bit harsh, really. 'Would write differently today' would be better, but doesn't roll off the tongue as easily :)
Re:Ask HN: Do you have any code currently in production that...
by LarryMade2 on Thursday February 13, 2014 @07:25PM
(#7235811)
I don't know about that the PET community is still going. Recently they've implemented a Flash drive for the IEEE-488, and emulators are still going. Then again if the programs crashed most folks would just turn of and on the PET and re-load.