We want that education by which character is formed,strength of mind is increased, the intellect is expanded and by which, one can stand in one's own feet. Education is the manifestation of the perfection already in man.

SWAMI VIVEKANANDA

my website:http://www.shyamconnect.com


Tuesday, June 30, 2009

Good programming technique.

An application is a collection of programs. Each and every program has its dependence with that of the other programs in the application.This dependence relation between programs can be thought of as Coupling.

Okay...Now lets move on to tightly coupled and loosely coupled.
When a program is very much dependent on other program it is called tightly coupled.
When a program is less dependent on other program then it is called loosely coupled.

So what type of coupling will a good program need?
Obviously it is the loosely coupled programs that the application needs.
When there is less relation between programs then writing codes and debugging is will be easy.

So next time when you write an application go for loosely coupled programs.
Coupling is inversely proportional to Cohesion.
COHESION!!!
What it is? Go and find out.

No comments: