This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

The impact of one huge header file

Hello,
Somebody here insists that all the program's definitions will be stored in one large header file that all C modules include, rather that keeping the declarations distributed among specific header files. That sounds pretty crappy to me - but how bad it is really? will it have a very negative impact on build time?

Parents
  • In the olden days with slow computers and paper tapes (or whatever) this was a huge issue.

    Today, who cares if a build takes 3 or 5 seconds.

    I have no idea what the effect is when using uVision, but with commandline build a total build of a 20 file project is about 5 seconds.

    Erik

Reply
  • In the olden days with slow computers and paper tapes (or whatever) this was a huge issue.

    Today, who cares if a build takes 3 or 5 seconds.

    I have no idea what the effect is when using uVision, but with commandline build a total build of a 20 file project is about 5 seconds.

    Erik

Children