So I was reading through some ColdFusion code and I ran across a function that had the dollar sign in front of it so $myFunction. I would like to know if this is some ColdFusion convention if not then what is the purpose of using such a coding style?
So I was reading through some ColdFusion code and I ran across a function
Share
We do that for three reasons in cfwheels:
You know what is a private/public method that belongs to the framework API just by looking at them.
We don’t collide with the new methods names that are now part of full script support.
We don’t take up a popular method names for components.