Talk about funny comments you write/find in code you work with.
I've produced fine stuff like:
/** WARNING: This code is database-dependent.
* I don't give two hoots about it.---------- // Get DTD seelction from theme
// <some code I just commented>
//Only not...---------- if <some UI assertion failed>:
stupid = True
#then, later on
if stupid:
<display some extra help>
Name:
Anonymous2006-08-28 9:18
>>1
My code tags failed it or so it seems, I meant:
/** WARNING: This code is database-dependent.
* I don't give two hoots about it.
----------
// Get DTD seelction from theme
// <some code I just commented>
//Only not...
So I just spent the past 15 minutes grepping my codebase for comments and found very little humorous. Apparently I'm not funny. This is all I found that was relevant, and it isn't even really a joke:
// C++ is officially fucking retarded. you have to define an implementation
// of pure virtual destructors.
Foo::~Foo() {}
>>9 my codebase
What do you need pure virtual destructors for in a fibs implementation?
Name:
Anonymous2010-06-29 11:46
In my scripts, I'll sometimes have an if-elseif-else structure where the if and elseif bits covers all the "possible" values, then in the final else part, I'll put something like:
die "Programmer assumption failed. Replace programmer and press F2 to continue";
Bringing /prog/ back to its people
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy