At 3:41 PM +0200 3/29/05, Donn Edwards wrote:
In the Visual Basic world there is a most useful naming convention for
variables, controls, windows, etc.
See <a href="http://www.xoc.net/standards/">The Reddick Naming and Coding
Conventions</a>
Is there anything similar in REALbasic?
There is nothing specifically marked as for use with REALbasic -- but
note that the above pages aren't designed for use with VB, either
(they're for VBA). REALbasic is similar enough to VBA that you could
use these same standards with RB, just as you can with VB.
Note that REALbasic is more strongly typed than VB or VBA, and the
IDE helps you remember what data types you're working with (even more
so in the upcoming REALbasic 2005 release), so having types embedded
into the variable names seems less important here than in VB. The
standard convention is, well, to not bother (i.e. to use just the
base name, or the tag name in cases where no base name is needed, for
maximum legibility). But there is certainly no reason you couldn't
follow the Reddick conventions in your own code, and who knows --
maybe it will catch on!
Best,
- Joe
--
REAL World 2005 - The REALbasic User Conference
March 23-25, 2005, Austin, Texas
<http://www.realsoftware.com/realworld>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|