Stupid ColdFusion Syntax Trick

I was in a development meeting earlier today and the following typo came up on screen:

x = "That's no moon. It's a space station."; writeOutput (x);

Notice the space? What was odd though was that ColdFusion Builder did not flag it as an error. On a whim I tried it and it actually worked. I even added about 20 spaces between the end of writeOutput and the left parenthesis and it ran with no complaints.

Weird - and useless - but kind of interesting how ColdFusion Builder helped me discover something I didn’t know you could do.

Raymond Camden's Picture

About Raymond Camden

Raymond is a developer advocate. He focuses on JavaScript, serverless and enterprise cat demos. If you like this article, please consider visiting my Amazon Wishlist or donating via PayPal to show your support.

Lafayette, LA https://www.raymondcamden.com

Comments