Special

Introducing the “Welcome to Xojo” Bundle!

New to Xojo and looking for guidance? We've put together a terrific bundle to welcome you! Xojo Bundle

This bundle includes six back issues of the magazine -- all of year 18 in printed book and digital formats -- plus a one-year subscription (beginning with 19.1) so you'll be learning all about Xojo for the next year. It's the perfect way to get started programming with Xojo. And you save as much as $35 over the non-bundle price!

This offer is only available for a limited time as supplies are limited, so hurry today and order this special bundle before the offer goes away!

Article Preview


Buy Now

Issue 7.4

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.