Saturday, June 12, 2010

Writing code...

For 8 long years...from class XI and class XII, to four years in B.E., to two years in M.E.; I was taught one and only one thing.

NEVER, NEVER, NEVER (I don't remember how many never's were there) use GOTO while writing code.

The first function I wrote last week (which would go out as an industrial product) had a GOTO...

So did the second, fact all the functions I have written so far, have gotos :D:D.

So much for all those GOTO haters..

On another side note, I realized recently that books like 'Exploring C' weren't books just meant for placement preparation. Am needing to read it again..