electronic liquidator

Discount Electronics Store

Buy consumer electronic merchandise from online retailers.  Liquidation Prices at Wholesale.

Save up to 70% off in our electronics department.
Discount Electronics Product Catalog Compare prices Coupon Codes reviews on electronic gadgets, products and devices

Comparison Shopping Guides: Automobile | Batteries | Camcorders | Cellphones | Consumer Electronics | Home Electronics | Office Electronics

Wholesale Products: Audio Video Components | Car Electronics | Gadgets  Music Instruments





15 Good Programming Habits


1. Before sitting down for coding, you must have formal or a paper-napkin design of the solution to be coded. Never start coding without any design unless the code is trivial one.

2. Good code documentation is as important as good knowledge of a programming language. Write brief logic for each major block of your code as comments in source code file itself. Its good to mention creation and modification dates of your program along-with why modification was required.

3. Maintaining versions of your program is another important task. Some present-day programming tools already have a built-in version management. Whenever you make any change to your program, they save its copy as .bak file.

My approach is to maintain 3 versions of a program. Say, I have a file program.c which is used by other project team members also. I copy this file as program.c.old as backup and make another copy as program.c.wrk where I do modifications. When modifications are successfully compiled, replace program.c with .wrk file.

You can also append a date or some explanation phrase to your program versions like program260505.c or programReadFnWrking.c .

4. If your project contains multiple source files then maintain a README file stating purpose of each source files, data files, intermediate and log files (if any). You may also mention the compilation and execution steps.

5. Ever wondered why your IF statement is not working as it should do. May be your are using single equal i.e. "=" instead of "==" in the condition check. A good approach is to write condition in reverse order. So, your condition should read something like this:

if ( 10==i) .... So, if you put single equal sign by mistake then it will be detected at compilation time only as an error.

6. While using loops and conditional statements, always first put closing braces corresponding opening braces and then write the inner statements i.e.

1) for(int i=0;i

Electronic products and price comparisons are frequently updated so that you will always get the best deals.  So tell your friends about us.

Home | Basic Electronic Quick Tips and Articles | Consumer Electronic Resources

 

Search Online for Consumer Electronics such as Apple IPods, MP3 Players, Cameras, Kitchen Appliances, Camcorders, Security Systems

 
Our third party sponsors have certifications or are members of one or more of the following:
 
Copyright © - Discount Electronics - Our discount store strives to keep things simple and user friendly when shopping for the best priced consumer electronics.  We have all the latest audio, cameras, camcorders, dvd players, home and office electronics.  Not only do we provide consumer electronic reviews, but you will be able compare the prices in our shopping guide.  Pricing, policies, and availability are subject to change without notice. All rights reserved for their respective trademark holders, use of any trademark is for informational and descriptive purposes only.