Naming Objects

In the early days of programming, we were limited in the number of characters we could use to name objects and variables. Thus we gave such meaningful names as x, cbw, or A1. Thanks to long filenames in 32-bit Windows, we are now able to identify objects using truly meaningful names, which in Access 2003 means 64 characters—plenty for most purposes. With such flexibility comes a dilemma: how do we name a class?

The name you assign to any database object will have an impact on its perceived purpose, and ultimately, its usability. It doesn't matter much whether it's a form, table, control, or class method; programmers will respond differently to it according to the name you give it. Ultimately it's up to you, but this section seeks to provide a few guidelines to help in the decision-making process.

0 0

Post a comment