Code comments …. :)

Some interesting code comments.
1.
/// <remarks>
/// The point of this is to work around his poor design so that paging will
/// work on a mobile control. The main problem is the BindCompany() method,
/// which he hoped would be able to do everything. I hope he dies.
/// </remarks>

2.

// 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.

3.

// Magic. Do not touch.

4.

return 1; # returns 1

5.

/* This is O(scary), but seems quick enough in practice. */

6.

/*
* 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.
*/

7.  and here comes my favourite……

//When I wrote this, only God and I understood what I was doing //Now, God only knows
:):):)

Advertisements
Published in: on August 4, 2009 at 9:34 am  Leave a Comment  
Tags: , , , , , , ,

domain knowledge

Boy was telling the story to his IT friends and trying to explain the Importance of domain knowledge…. One day my mother was out and my dad was in charge of me and my brother who is four years older than I am. I was maybe 3 and half years old and had just recovered from an accident in which my arm had been broken among other injuries. Someone had given me a little ‘tea set’ as a get-well gift and it was one of my favorite toys. Daddy was in the living room engrossed in the evening news and my brother was playing nearby in the living room when I brought Daddy a little cup of ‘tea’, which was just water. After several cups of tea and lots of praise for such yummy tea, my Mom came home. My Dad made her wait in the living room to watch me bring him a cup of tea, because it was ‘just the cutest thing!!’ My Mom waited, and sure enough, here I come down the hall with a cup of tea for Daddy and she watches him drink it up, then she says to him, ‘Did it ever occur to you that the only place that baby can reach to get water is the toilet??’

….Mothers know!!

MORAL OF THE STORY:  Domain knowledge is very important!!! Else your supplier will trick you…… 😉

Published in: on July 29, 2009 at 9:30 pm  Leave a Comment  
Tags: ,