An intriguing (to me) and useless question about CFCs
Hello, all,
CFCs. Some of us love them (I DO), others not so much, maybe. But I'm curious about something.
I recently posed a plea for help while just learning if something were possible in CF: a dispatch table.
Basically, a dispatch table is an object that can perform boolean comparisons, much like a switch/case, but there's no string comparison - you drill straight to the object property.
Which, now, makes me wonder. Is a CFC like a dispatch table (the various CFFUNCTIONs are properties of an object, ie the CFC), or more like a large switch/case (the various CFFUNCTIONs just the equivalent of <cfcase value="myFunctionName">...</cfcase>, in which string comparisons are performed in order to get the correct code)?
Just curious.
V/r,
^ _ ^
