Article Preview
Buy Now
COLUMN
Naming Conventions
Bad naming is a giveaway for bad coding
Issue: 7.4 (May/June 2009)
Author Bio: Bob is the owner and Vice President of BKeeney Software located in Kansas City. He is also the current President of the Association of REALbasic Professionals.
Article Description: No description available.
Article Length (in bytes): 4,194
Starting Page Number: 54
Article Number: 7417
Related Web Link(s):
http://en.wikipedia.org/wiki/Hungarian_notation
Excerpt of article text...
This is a followup to my "Other People's Code" column. Since then I've been lucky enough to look at a few more OPC projects. The difference between one that's going to be a breeze and one that's going to be difficult is easy to spot right away: naming conventions.
If you don't have standard naming conventions in your REALbasic (or any other language for that matter) project you need to start
now . I mean it. Open your IDE of choice and start looking at your variable names. Can you tell at a glance what type of variable it is? Can you tell what it does? Or do you have a bunch of x, i, y, and z's floating around in your code?What about your editfields? Do you name them so you can tell their function or do you simply use the default name that the IDE gives you? How do you tell the difference between EditField1 and EditField2?
...End of Excerpt. Please purchase the magazine to read the full article.