Learning how to program incorporates determining the best way to implement the task at hand. When you are faced with a problem/task in terms of programming, you can usually go about it several ways. Example: You want to code a database to hold data about your business clients. You could do this all in one file contained in a single loop, which would be sloppy, unethical, and tedious, or make use of classes, object-oriented programming, templates, multiple files, and specific functions, which is much more organized and useful. Learning how to program involves seeing the construction and structure of a program before it is actually coded. There tends to be methods and techniques that are more efficient than others. There also is generally a sense of style that is accepted as proper etiquette in coding communities. Being more aware of style as you code as well as inserting comments periodically also makes your code easier to read and understand in case others have to make changes later on.
I hope this has helped
__________________
CPU: AMD Athlon 64 X2 5200+ Windsor, 2.6 GHz
RAM: CORSAIR XMS2 2GB 240-Pin DDR2
VIDCARD: EVGA PCI-Express x16 GeForce 7900GS 256MB
MOBO: ASUS M2N-SLI Deluxe AM2
HDD: Seagate Barracuda 320GB 7200 RPM SATA
my blog:
http://jspot.gotdns.com