Use the Appropriate VariablesThis tip submitted by Mahesh Kumar.S on 2005-03-07 21:58:10. It has been viewed 23534 times.
Rating of 5.5 with 51 votes
While programming we have to take care about the variables. You need to give appropriate name for the variables or there will be a lot of confusion!
In above program we use name "FACT" for the function to find out it's factorial value. Suppose we gave it a name like
int abc(int n) or
int get(int n)? That wouldn't be so easy to read would it? it might even cause confusion if we chose a name that actually described something we didn't do!
Help your fellow programmers! Add a tip!