Technically, they are all functions. However, I
usually refer to stand-alone functions as functions. Within CFCs I refer
to them as methods.
Basically, functions work by themselves and do not really
store stateful information. Methods are used in objects that do store
stateful information.
But that is just me.
M!ke
----------------------------------------------------------I was in the middle of writing a comment about some code I was writing, and I didn't know whether to call it a method or a function. Does anyone have a definitive answer on this question?
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stephen Adams
Sent: Thursday, June 23, 2005 10:33 AM
To: [email protected]
Subject: [CFCDev] Is it methods or functions?
Stephen
----------------------------------------------------------
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).
CFCDev is supported by New Atlanta, makers of BlueDragon
http://www.newatlanta.com/products/bluedragon/index.cfm
An archive of the CFCDev list is available at www.mail-archive.com/[email protected]
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).
CFCDev is supported by New Atlanta, makers of BlueDragon
http://www.newatlanta.com/products/bluedragon/index.cfm
An archive of the CFCDev list is available at www.mail-archive.com/[email protected]
