Monday, October 13, 2008


Consistency often related to writing standard code program. Of course well founded because writing of consistent code make code program more easily to read and comprehended.. If variable is applied for purpose of similar, better give similar name too. For example, if variable $sum is applied to express an amounts, hence you must to always wear the name. That’s mean don't give different name for purpose of similar, for example $sum, $sumer, $amount. For usage in one block. You can declaration variable with same prefix, for example $sum_data, $sum_max, $sum_min. Though not easy to consistency implementation, we must cope for minimization mistaken of naming.


Post a Comment