ColdFusion 9.0 Resources |
Using number signs in expressionsUse number signs in expressions only when necessary, because unneeded number signs reduce clarity and can increase processing time. The following example shows the preferred method for referencing variables: <cfset SomeVar = Var1 + Max(Var2, 10 * Var3) + Var4> In contrast, the following example uses number signs unnecessarily and is less efficient than the previous statement: <cfset #SomeVar# = #Var1# + #Max(Var2, 10 * Var3)# + #Var4#> |