4 ms·
My very first commercial program was a Fortran 90 thing that could write its own source code out to the filesystem if asked. Updated itself as part of the build
by JonChesterfield 4y ago
My very first commercial program was a Fortran 90 thing that could write its own source code out to the filesystem if asked. Updated itself as part of the build. I still quite like that as a feature.
- vkou 4y ago... Why would that be useful? Don't you have the source code in front of your face as you are working on it?
- lelanthran 4y ago> ... Why would that be useful? Don't you have the source code in front of your face as you are working on it? Maybe not, actually. Assuming that the code was written in the 90s, there probably wasn't any version control (only backups at specific milestones). With no version control, there's a 50:50 chance that the source code you found for some deployed version is not the same as the code that was backed up.
- JonChesterfield 4y agoReplying to a post saying > the source code was "lost" Sure, I had source that I had written. In source control even, was using fossil. But I thought my binary might end up somewhere decoupled from that source, with some other engineer tasked to modify it, and I hope they find the dump source option listed under -help useful.