3 ms·
One of those reminded me of the following legend that gets passed around here at work. A codebase had been maintained by a single person, who then left the com
by spatulon 13y ago
One of those reminded me of the following legend that gets passed around here at work.
A codebase had been maintained by a single person, who then left the company. When the other engineers took over responsibility for the project, they discovered, to their dismay, that it was almost entirely bereft of comments.
Amongst the tens of thousands of lines of code, they found only one comment, preceding an unintuitive bitmask operation:
/* gok */
Nobody could work out what on earth "gok" could mean, let alone why the previous engineer had chosen to leave that comment when they found no reason to comment any other part of the project.
Years later, somebody bumped into this chap at a conference and managed to ask him about the project and the significance of "gok."
"Oh, that's easy. It stands for 'god only knows.'".