Standardize Your Coding

CFML is case-insensitive – is the same as which is the same as , and FORM.var is the same as form.var which is the same as Form.VAR. But just because you can use any choice of case does not mean you should. Pick one, any one, and use it exclusively. Some developers like using upper-case for all prefixes, some like using mixed-case for variables names, and there are many other formatting options. It does not matter which is adopted and used, as long as the one used is used consistently and exclusively. This will make managing code far easier. (Applies to: ColdFusion All)

Leave a Reply