Effective Modularity in Programming

This tip submitted by Sharma PCS on 2005-10-20 07:19:58. It has been viewed 55172 times.
Rating of 5.5 with 265 votes



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.



More tips

Help your fellow programmers! Add a tip!