Monday, November 26, 2007

2nd Dec 2007 A Challenging Day for me.

That’s a day when I will be running…………. I mean, I will be participating in

Pune’s 22nd International Marathon

Thanks to Sujata & Milind for inspiring me towards this.

Every Marathon the seen used to be like, I getting up at 9.00 am ( as it is on Sunday ) sitting in front of TV and watching people running and listening to some celebrity talk of - why running is good for health etc……And some awareness about AIDS.

But now as I have decide to participate for 22nd Pune International Marathon ( Run Against AIDS ) my preparations are in full swing:

  • Purchased the forms
  • Got it filled
  • Started running for 1 hour every morning
  • Following some healthy diet

Some thing which I need to do:

  • Purchase a new sports shoes
  • Running for 2 hrs daily
  • Get the Vodafone T Shirt .
  • Give this surprising news to my friends

Marathon brings with itself lots of excitement. Makes us aware about our health & diet. It make me believe that “Health is wealth”.

I am very excited about it – this is going to be a new experience for me. Running along with lots of people for a single cause.

Will get back ……..with a post about Marathon experiences.

Come Join me…………….at Marathon……………………

Forms are available at

Tuesday, November 13, 2007

Hungarian Notation

When ever I am coding or say, ever since I am into Windows Programming there is one thing that is always back of my mind

“Follow the Hungarian Notation”

I being a Java Programmer never followed Hungarian Notation but yes, tried my best to giving some Sensible names to my variables

Let me have a look at the my

Variable Naming Life Cycle

Role :Student

Variable Names : a, x, y, z

Reason : To be the first one to submit the online assignment

Result: Full marks & Teachers Impressed

Role : Java Programmer

Variable Names : var, count, vectSize, str, con, rs

Reason : I used to Understand that much better , saved time and my Application running on web

Result: Warnings but Happy ( completed my task before time )

Role: Windows Programmer

Variable Names : all sorts of veered names

Reason : I was confused others too

Result: Penalties…………….and Sweet Warnings before I start a new module

I remember Hungarian Notation being a chapter in my C Programming but never took it seriously.
started taking it seriously after my training session on Hungarian Notation.

Bookish Definition:

Naming Convention in which the name of a variable indicates its Datatype.

Self Definition:

Reminding a forgetful programmer that he cannot store a float value in an integer declared variable.

Was invented by Charles Simonyi Chief Architect at Microsoft.

In spite of its Advantages like:

  • The variable type can be seen from its name
  • Easy to remember…………..blablabla

For me :

  • It has brought in more Discipline in my Coding Styles
  • Makes my Program more Readable to Others who follow it
  • I walk through my code not to check its functionality but to see if I have followed the Hungarian Notation.