Effective Modularity in ProgrammingThis tip submitted by Sharma PCS on 2005-10-20 07:19:58. It has been viewed 50944 times.
Rating of 6.0 with 215 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.
Help your fellow programmers! Add a tip!