Completely acceptable to leave out the CFELSE if there is no alternative
action that needs to be taken.
~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of Fusion mailing lists
The same with a function, for e.g.
function fubar(){
if(z = y)
return y;
return z;
}
I prefer this form and I'd guess that it performed better (though almost
certainly not to a remotely relevant degree). Its definitely perfectly
acceptable.
Dominic
2009/7/29 Jason Fisher
: Use CFELSE or Let Logic Fall Through?
The same with a function, for e.g.
function fubar(){
if(z = y)
return y;
return z;
}
I prefer this form and I'd guess that it performed better (though almost
certainly not to a remotely relevant degree). Its definitely perfectly
acceptable
3 matches
Mail list logo