aharrisreid
Programmer
For years now we have had the integer data type in VFP, and if we are to follow the common notation of preceding with the first letter of the data type we should get field names like iStockQty or iBatchNumber, and local variables like liLoopCount and liNewRec. The thing is, I haven't seen adoption of this standard anywhere! In all the books and magazines I have read over the past few years, it appears that most developers are still using the 'n' prefix for integer values (maybe I'm reading the wrong books!).
Is this a case of old habits dying hard, or is the trend to keep the 'n' prefix for all numeric values, whether integer or not? (Or are we just lazy ;-))
I have been trying to adopt this new standard in my code, but can't help thinking that it still looks 'odd' and I can't get used to it.
What are other developers doing regarding the 'i' integer prefix? Any comments would be appreciated.
Alan