5 ms·
Not on Git, but I was curious and grepped through the Siemens S7 repository I maintain at work; we've been using the same comment practice since forever, with t
by lb1lf 2y ago
Not on Git, but I was curious and grepped through the Siemens S7 repository I maintain at work; we've been using the same comment practice since forever, with the date in ISO8601 format. (Since before ISO 8601 even was a thing!)
Oldest I found?
1986-06-17: Trygve glemte å sjekke om vi deler på null. Fikset.
(Trygve forgot to check whether we divide by zero. Fixed.)
- loeber 2y agoIncredible. This is like Graffiti from Pompeii.
- NoMoreNicksLeft 2y agoYou've got me beat... at a previous job, there were comments from 1991 complaining about how it was ported/rewritten from cobol.
- jamesfinlayson 2y agoPorted to what?
- NoMoreNicksLeft 2y agoOracle Pro*C. You don't want to know.
- NetOpWibby 2y agoI’ve never even heard of this before. Talk about old-school!
- bogomog 2y agoI forgot it existed, was using it at a couple of jobs circa 1989-1992. Completely blocked it out of my mind.
- AlotOfReading 2y agoA former job had a similarly old codebase. I made the mistake of asking where the docs were and someone pulled out this typewritten booklet of yellowed pages from 1981 that was the only remaining copy of the originals in the early 70s. The code was on at least its 4th language by that point and is probably still running robots today.
- akoboldfrying 2y agoUgh. That is sooo Trygve.
- lb1lf 2y agoDon't be too hard on him. For sufficiently large values of zero, you don't really need to check...
- nonameiguess 2y agoYep. Huge limitation of this approach is the assumption the code has always lived in the same VCS. I remember migrating a monorepo for geointelligence processing algorithms years back to multiple repos, and its own history was it had been in Mercurial before Git, ClearCase before Mercurial, and God knows what earlier than that. But I was reviewing old Fortran code for handling specific vehicle missions and could see from the mission codes that some of these were satellites launched in the late 80s, so the code itself had to be even older than that.