Friday, October 10, 2008

Standard coding

Every programming language always give standards rule for made reference programmer. This thing for created program are consistence and uniform. The example is standard name. In programming, a name is applied to relate identity which for declaration. Related/relevant this matter, there are some base order which truly hardly required to produce a program more interesting. Variable name better use a lower case. If the name consist of some words, disjointed with under line (underscore). For example $name or $name_user. Give name of Constanta is suggested to follow order variable except using all block letters. For Example MAX MAX_DATA or SUM_DATA. Name of function better also relate at naming of variable and hardly suggested that to express a verb or action, for example get_data(), set_data(), or print(data).


Post a Comment