re: What's the funniest comment you've encountered in code? VIEW POST


So someone wrote a function called "rm_rf" which recursively went through and deleted all of the directories and files. The comment said something like "hmm, now why didnt I just use exec('rm -rf')" then a day later in another commit "I dunno but I probably shouldn't change it, who knows what might happen"

The other one (I know 2 for 1 special) was just "oh boy" and nothing else.

code of conduct - report abuse