Home Archive RSS Login

I learned something new today

Funny code comments

I read this on a website and just took some that appeared really funny to me. 
* For the brave souls who get this far: You are the chosen ones,
* the valiant knights of programming who toil away, without rest,
* fixing our most awful code. To you, true saviors, kings of men,
* I say this: never gonna give you up, never gonna let you down,
* never gonna run around and desert you. Never gonna make you cry,
* never gonna say goodbye. Never gonna tell a lie and hurt you.

* Dear maintainer:
* Once you are done trying to 'optimize' this routine,
* and have realized what a terrible mistake that was,
* please increment the following counter as a warning
* to the next guy:
* total_hours_wasted_here = 25
* sometimes I believe compiler ignores all my comments
* I dedicate all this code, all my work, to my wife, Darlene,
* who will have to support me and our three children and the dog once
* it gets released into the public.
* Below code is autogenerated, do not edit. All changes will be undone.
* You may think you know what the following code does.
* But you dont. Trust me.
* Fiddle with it, and youll spend many a sleepless
* night cursing the moment you thought youd be clever
* enough to "optimize" the code below.
* Now close this file and go play with something else.
* If this comment is removed the program will blow up
* I am not responsible of this code.
* They made me write it, against my will.
* This isn't the right way to deal with this,
* but today is my last day, Ron just spilled coffee on my desk,
* and I'm hungry, so this will have to do...
* If you don't understand this code, you should be flipping burgers instead.
* If this code works, it was written by Paul DiLascia.
* If not, I don't know who wrote it
* If you're reading this, then my program is probably a success
* Ah ah ah! You'll never understand why this one works.
* Yes...I know this is repusive and stupid.
* But <%CompanyOwnerOrManagerToken%>, not knowing a thing about code,
* demanded I do it anyways. SO, go crap on their desk, not mine.
* This code was written by a genius so don't try to understand it with
* your tiny little brain.
* silently, we fail
* many validations fade
* like tear drops in rain
* Chaos reigns within.
* Reflect, repent, and reboot.
* Order shall return.

Author: Prit -  Date: 22 Sep 2010 10:44
Tags: programming -  Visits: 93243 -  No Comments


No comments posted yet!

Add Comment

Comment Form


 (Optional, will not be published)

 (Optional, format: http(s)://website.com)