Monday, 26 August 2013

Advantage & disadvantage of keeping a Constant.h file inside a project?

Advantage & disadvantage of keeping a Constant.h file inside a project?

i have seen many projects which is having a Constant.h file, where all the
classes has been declared & whenever programmers need to use those classes
they call Constant.h file.
So i am wondering wheather it is a good practice or not ?
Does it have some performance issue as we are calling many unnecessary
files present in Constant.h, even if it is not required ?

No comments:

Post a Comment