Monday, May 16, 2011

Effective Modularity in Programming


If you are doing a C project which requires modules and which is supposed to be ported in future, then it is better to do like this.

Write those code segments which are machine independent in one module and those which are machine dependent in another module.

While porting the program to another type of machine it is easy to fix errors if you do like this.