ColdFusion 8.0.1 – Nested Array/Struct Shorthand


As you probably know, ColdFusion 8 gave us a long-needed shorthand for creating arrays and structures:


Unfortunately you couldn’t nest those constructs. With the 8.0.1 updater though, you now can:

This is fantastic when you’re trying to make configurable code – a chunk of code whose basic function is tweakable by updating a few settings variables at the top instead of hard-coding them in throughout the code (for example – URLs, filesystem paths, data sources, etc).

  1. No comments yet.
(will not be published)
  1. No trackbacks yet.