3 ms·
> Maybe some of the ugliness of the old code has to do with handling bugs and corner cases that the programmer has forgotten about. That's why I add comments
by perlgeek 16y ago
> Maybe some of the ugliness of the old code has to do with handling bugs and corner cases that the programmer has forgotten about.
That's why I add comments to counter-intuitive pieces of code, often with a ticket number or a short explanation what goes wrong otherwise.