AdobeStock_455007340

No Spaces Around Equals Signs

Any time you perform an assignment or pass an attribute in ColdFusion you use NAME=VALUE pairs. ColdFusion allows spaces before or after the = sign, but other languages (most notably XML) do not. While there is nothing wrong with having spaces before or after the equals sign, it’s best to get used to not doing so. This will help ensure the long term viability of your code. (Applies to: ColdFusion All)

Leave a Reply