<cfcomponent hint="RouletteTable" extends="MachII.framework.Listener">
<cfset _player = "" />
<cfset _bet = CreateObject( 'component', 'Roulette.model.Bet' ) />
<cfset _history = CreateObject( 'component',
'Roulette.model.History' ) />
<cfset _history.init() />
At 12:41 PM 10/30/2005, you wrote:
Joseph Flanigan wrote:
Mr Ross:
Please refer to the CF LRM:
"A variable name must begin with a letter, underscore, or Unicode
currency symbol."
If you like Mach, then you have no problem with starting a private
variable with an underscore. All I do is say a public variable
starts with a $. The use of a underscore or dollar sign it
indicate scope has nothing to do with naming styles.
Data hiding and encapsulation are not new terms. People like
yourself misunderstand the difference because of a tendency to overload.
Mr Flanigan:
Please name a specific line number of a module of the Mach-II
framework that uses underscores for private variables. Frankly, I
cannot remember a single line of the official framework core that
uses that practice.
Please backup your statement of a specific example instead of a
general un-researched declarative statement.
--
Peter J. Farrell :: Maestro Publishing
http://blog.maestropublishing.com
Rooibos Generator - Version 2.1
Create boilerplate beans and transfer objects for ColdFusion for free!
http://rooibos.maestropublishing.com/
Member Team Mach-II - It's coming...we're in a code freeze!
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to
[email protected] with the words 'unsubscribe cfcdev' as the
subject of the email.
CFCDev is run by CFCZone (www.cfczone.org) and supported by
CFXHosting (www.cfxhosting.com).
An archive of the CFCDev list is available at
www.mail-archive.com/[email protected]
-----------------------------------------------------------------------
http://www.switch-box.org/CFSQLTool/Download/
Switch_box MediaFirm, Inc.
www.Switch-box.org Loveland, CO USA
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to
[email protected] with the words 'unsubscribe cfcdev' as the subject of the
email.
CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting
(www.cfxhosting.com).
An archive of the CFCDev list is available at
www.mail-archive.com/[email protected]