Computersight > Programming

Effective Coding

Here you can find the techinques for the effective coding in programming languages

Writing the program is called coding. In this step, you use the logic you develop in the program design stage to actually write the program. The coding can be done in any kind of languages (i.e. low level or high level languages).

As in other areas of life there are many ways to get the same places, in programming also there are various ways to get things done. Here are some of the qualities of a good program:

  • It should be easily readable and understandable by people other than the original programmer. This is accomplished by including comments within the program.
  • It should be efficient, increasing the programmer’s productivity.
  • It should be reliable, able to work under all reasonable conditions and always get the correct output.
  • It should be able to detect unreasonable or error conditions and indicate them to the programmer or user without stopping all operations – crashing the system.
  • It should be easy to maintain and support after installation.

Three factors that make programs efficient are:

  • The statements can be arranged into patterns that enhance readability.
  • The variables – variables are symbolically named entities to which values are assigned – used are carefully and descriptively named.
  • Comments can be inserted into the program to document the logic patterns and program flow.

6
Liked It
I Like It!
Related Articles
How Good is Your Code?  |  Compilation and Execution
Comments (0)
Post Your Comment:
Name:  
Copy the code into this box:  
Post comment with your Triond credentials?
Inside Computersight

Communication & Networks

 /

Computers

 /

Hardware

 /

Operating Systems

 /

Programming

 /

Software


Popular Tags
Popular Writers
Powered by
Computersight
About Us
Terms of Use
Privacy Policy
Services
Submit an Article
Advertise with Us
Contact

© 2007 Copyright Stanza Ltd. All Rights Reserved.