2 ms·
I don't remember it verbatim, or even what exactly the code was doing, but something like: // And now ladies and gentlemen, we need a volunteer from the audi
by tjr 12y ago
I don't remember it verbatim, or even what exactly the code was doing, but something like:
// And now ladies and gentlemen, we need a volunteer from the audience!
// Yes, you there, please come up.
...allocate dynamic memory...
// Now our lovely lady from the audience will enter this mysterious box!
...do something with allocated memory...
// We spin the box around!
... do more stuff ...
// And when we open the box, we see she has vanished!
... deallocate memory ...
Amusing, I guess, but it really didn't contribute understanding to the code. This was in the middle of a gigantic avionics simulation program that was almost entirely uncommented and extremely hard to understand in the first place. The same code base also had an MP3 recording of this song checked into it:
http://lyrics.wikia.com/Frank_Hayes:Threes http://lyrics.wikia.com/Frank_Hayes:Threes