Software constants
Declare and use software constants is a good programming practice because software constants are descriptive unlike plain numbers.
Software constants are defined once and can be used in many places of code, if software constants are not used, but numbers specified instead, then the code needs to be modified in multiple places. Use of constants simplifies the code. Software constants explain code better then use of numbers.
Comments
Post a Comment