Last Updated : 29th January 2005
Articles>>Programming Guide
 
 

Programming Guide

Bingo here the code warrior comes...so you are a programmer? Nice to know that. All that I can offer you is a lot of links and a bit of advice(personal it is), which may or may not click with you.

If you are a beginner then my assumption is that you are attempting to learn a procedural language like C, Pascal etc..First of all, learn to put on comments and proper documentation. A few good tips are :

1. Give proper documentation and comments explaining which variable is meant for what part of the problem involved. If you have to submit program codes like I have to then I wonder how would your instructor know the crux of your code easily. Moreover, if you happen to just need an old program code then I could get really difficult at times to catch the meaning of lines between code.


2. If you are a beginner to computer programming and feel it to be a new world then I would suggest you to cool down, for a computer never does anything more or less that what you said it to, so its always your mistake. Dont worry, programming follows the age old datum of 'Practice makes a man perfect', practice and it would be fine soon. I have seen loads of friends improving upon programming by trying it again and again.


3. Know your compiler or interpreter. I have been through the bad case of code running on one version of a C compiler while reporting errors on others, so know your version well. Try to buy the one having complaince to the latest ANSI standard. A good idea would be to have a number of them and test them up.


4. Love thy Bugs as you love thyself. For me 'Life is a bug and Ihave to just debug it', that's right. I must confess that I learnt more programming by debugging programs than by coding perfect peices of them. The maximum number of errors are syntactical than being logical, more debugging makes one syntactically perfect.


5. Don't copy, for Christ's sake please don't copy code and understand it by reading it. You would never be able to learn from it. You would lose the opportunity of screwing those bugs. Copying never helps...believe me.


6. Find a good book. Now the question is how do we define a good book? A good book is the one which the user would like to read. My recommendations on a good book may not be valid for you. So go ahead waste sometime in your library and get the book which clicks with you.


7. Advance yourself. Okay this may seem trivial but then please improve the level of problems you solve, there is no point in celebrating yourself being a great entry level programmer, move up to the next level.

 

 

 

 
© Copyright 2003-2004 Ankur Mehrotra. All Rights Reserved. Website Template by Interspire
Hosted by www.Geocities.ws

1