Computer programming is a simple way to pass the commands to computer for performing assigned actions, computer program have different types of function which are performed by computer only. Writing computer programs is a complex method because understanding of computer program is not easy. Computer programs including the testing source codes, writing source codes, troubleshoot source codes and security source codes. Computer program writing is requires the programing language which understand the computer.
Consider these important points while writing computer programs:

Setup program logic: Logic is very important in program writing, logic preparation is based on the resources of the using language. Preparing of the logic must be along with real time code process, you must prepare the flow chart before starting the program.

Split the program: In computer program writing, the program split is very important, every program splits into different functions and each function includes the instructions. These functions must be designed in systematically.

Study all the syntax of the commands:
The reason for the errors in programing is improper usage of syntax; many functions in each program are used to check syntax of every command.

Make a short code:
Avoid the complex functions in getting tasks done; always choose the shorter codes in program writing.

Variable names and functions are logical: Always choose a proper name of the variable or functions, which is useful in program coding. You should consider variable name with functionally and logically simple one.