4 ms·
I think the longest thing I've written that worked the first time was a Pascal program about a page or two long, in college. I'm never likely to surpass that r
by pg 17y ago
I think the longest thing I've written that worked the first time was a Pascal program about a page or two long, in college. I'm never likely to surpass that record, because I'd never write so much code now before testing it.
- statictype 17y agoI always wondered, what does it mean for a program to be a page long? I guess you're referring to a printout of the code on A4 size paper in some fixed 10-point font?
- vena 17y ago25 lines of 80 characters, i'd say.
- thwarted 17y agoWhen I absolutely had to print out code, 17+ years ago, I remember it being 66 lines on a US letter sized sheet (don't care to calculate what pitch that would be, or the font size -- whatever HP LaserJets would print by default if you sent plain text ASCII data to port 9100 directly. My university also had those terrible green banded fan-fold paper line-printers that was like 200 columns wide and maybe 80-100 lines. We referred to both of these as "pages". Now, I don't know anyone who measures code in "pages". This isn't a good metric when most projects are made up of multiple files. It's as good as measuring productivity in LOC.
- pg 17y agoYes, I was thinking of 66 lines.