gettingstarted
[Top] [All Lists]

Re: The Reddick Naming and Coding Conventions

To: Getting Started <gettingstarted at lists dot realsoftware dot com>
Subject: Re: The Reddick Naming and Coding Conventions
From: David Glass <dglass at graymattercomputing dot com>
Date: Tue, 29 Mar 2005 11:31:09 -0800
Delivered-to: gettingstarted at lists dot realsoftware dot com
References: <000501c53465$13b1fc60$5c0000c4 at jockeyclubsa dot co dot za> <16fef3d74337d88f7adce6598e74d777 at graymattercomputing dot com> <001d01c53471$06b681a0$5c0000c4 at jockeyclubsa dot co dot za>
Off the top of my head:

wnd             window
st              statictext
rdo             radiobutton
pgp             pagepanel
grp             groupbox
ef              editfield
pm              popupmenu
cmb             combobox
lst             listbox
dt              disclosuretriangle
sma             smallarrows
cnv             canvas
iw              imagewell
ws              windowsplitter
tab             tabpanel
cls             class
mod             module
bb              bevelbutton
cm              contextualmenu
chk             checkbox

And then pretty standard stuff for variables, which again aren't really necessary and can cause refactoring issues on occasion:

str             string
int             integer
var             variant
dbl             double
dat             date
bln             boolean
db              database
rst             recordset
gfx             graphics
pic             picture
prn             printer or printersetup

These are, of course, just the prefixes. Actual names would then be capped at each word:

intRecordCount
wndPreferences
datCurrentDate


On Mar 29, 2005, at 07:07, Donn Edwards wrote:

I was wondering what you do for Windows (VB forms) - wnd ? frm ?
How have you adapted it for the different names used in RB?

Perhaps we could draw up a basic list (no pun intended) of the common
prefixes to help others. Wha'daya'say ?

--
David Glass - dglass at graymattercomputing dot com
Gray Matter Computing
559-303-4915

Apple Certified Help Desk Specialist

_______________________________________________
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>

<Prev in Thread] Current Thread [Next in Thread>