Yep yep :)))
Yeah.. I kinda like hungarian notation for some things ive always used
strWhatever for strings.
like if im setting up a string for an image name or something
strImgSrc for example.. hleps pick out what it should be
its even more useful since CF is typeless and you can do
almost anything you want to any variable it really helps
Check out some VBScript I kind of like the naming
conventions for their Basic Data types
I would say use a three or three or four letter prefix
tho as just one letter would kind of obscure it and
with three letters it helps you have more choices.
If you have not taken a look at hungarian notation its
a standard MS invented that hordes of C++ people use
myself included.. you could take a look at that maybe
to model your style off some prexisting stuff :)
thats my two cents.. ;)
Jeremy Allen
[EMAIL PROTECTED]
[Insert cool title here]
-----Original Message-----
From: Michael Dinowitz [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 04, 2000 12:47 PM
To: [EMAIL PROTECTED]
Subject: (syntax) variable naming conventions
I've started to use some variable prefixes in some of my code and was
wondering what others were using. I'd like to see a few examples before I
post an article on it. My usage at the moment is limited to complex data
types:
aArray
sStructure
qQuery
oObject
I'm sure a case can be made for something like xWDDX, bBoolean, iInteger,
nNumber, dDate, tTextString, lList but I'd rather not go that far yet.
Who's using something like this? Is it helping you in any way? Is it
hindering you in any way?
----------------------------------------------------------------------------
--
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.