<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: ColdFusion Struct Literals Fail Again</title>
	<atom:link href="http://www.barneyb.com/barneyblog/2008/07/14/coldfusion-struct-literals-fail-again/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.barneyb.com/barneyblog/2008/07/14/coldfusion-struct-literals-fail-again/</link>
	<description>Thoughts, rants, and even some code from the mind of Barney Boisvert.</description>
	<lastBuildDate>Thu, 11 Sep 2014 09:58:12 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: barneyb</title>
		<link>https://www.barneyb.com/barneyblog/2008/07/14/coldfusion-struct-literals-fail-again/comment-page-1/#comment-187373</link>
		<dc:creator>barneyb</dc:creator>
		<pubDate>Mon, 03 Aug 2009 15:54:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/?p=442#comment-187373</guid>
		<description>Adam,

I haven&#039;t.  And it&#039;s not in the bug base either.  But jesus is that a horrible example of how to build a Flex app.  I give up.

I have submitted it via the feedback/bug report form, but no idea where things go after that.</description>
		<content:encoded><![CDATA[<p>Adam,</p>
<p>I haven't.  And it's not in the bug base either.  But jesus is that a horrible example of how to build a Flex app.  I give up.</p>
<p>I have submitted it via the feedback/bug report form, but no idea where things go after that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam Tuttle</title>
		<link>https://www.barneyb.com/barneyblog/2008/07/14/coldfusion-struct-literals-fail-again/comment-page-1/#comment-187371</link>
		<dc:creator>Adam Tuttle</dc:creator>
		<pubDate>Mon, 03 Aug 2009 15:48:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/?p=442#comment-187371</guid>
		<description>Barney, have you submitted this as a bug now that we have the public bugbase? I&#039;d vote for it, and I know a handful of others that would, too.</description>
		<content:encoded><![CDATA[<p>Barney, have you submitted this as a bug now that we have the public bugbase? I'd vote for it, and I know a handful of others that would, too.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ColdFusion Struct Literals Are Not Thread Safe (CFML Ones Are) at BarneyBlog</title>
		<link>https://www.barneyb.com/barneyblog/2008/07/14/coldfusion-struct-literals-fail-again/comment-page-1/#comment-182503</link>
		<dc:creator>ColdFusion Struct Literals Are Not Thread Safe (CFML Ones Are) at BarneyBlog</dc:creator>
		<pubDate>Fri, 19 Jun 2009 16:45:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/?p=442#comment-182503</guid>
		<description>[...] lets you write some really nasty code, causes some weird bugs, and today I realized (through some handy errors on our production cluster) that there are thread [...]</description>
		<content:encoded><![CDATA[<p>[...] lets you write some really nasty code, causes some weird bugs, and today I realized (through some handy errors on our production cluster) that there are thread [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Nadel - At It Again at BarneyBlog</title>
		<link>https://www.barneyb.com/barneyblog/2008/07/14/coldfusion-struct-literals-fail-again/comment-page-1/#comment-171701</link>
		<dc:creator>Ben Nadel - At It Again at BarneyBlog</dc:creator>
		<pubDate>Tue, 07 Apr 2009 16:18:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/?p=442#comment-171701</guid>
		<description>[...] Ben Nadel posted another interesting code snippet this moring.Â  NEVER EVER USE IT.Â  It leverages a horrible bug in ColdFusion&#039;s implementation of struct literals that I&#039;ve blogged about previously. [...]</description>
		<content:encoded><![CDATA[<p>[...] Ben Nadel posted another interesting code snippet this moring.Â  NEVER EVER USE IT.Â  It leverages a horrible bug in ColdFusion's implementation of struct literals that I've blogged about previously. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: barneyb</title>
		<link>https://www.barneyb.com/barneyblog/2008/07/14/coldfusion-struct-literals-fail-again/comment-page-1/#comment-107219</link>
		<dc:creator>barneyb</dc:creator>
		<pubDate>Mon, 21 Jul 2008 15:59:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/?p=442#comment-107219</guid>
		<description>Elliot,

Having quoted keys would definitely be a nice feature.  Though even better would be allowing colons or equals signs for the key/value separator so you can use a colon like basically every other language.

On Railo, you can use struct/array literals as expressions, meaning you can use them in CFRETURN, as function/method arguments, or any where else.  The only-assignment restriction is a ColdFusion issue, not a CFML issue.  So people are implementing it correctly, just Adobe totally dropped the ball.</description>
		<content:encoded><![CDATA[<p>Elliot,</p>
<p>Having quoted keys would definitely be a nice feature.  Though even better would be allowing colons or equals signs for the key/value separator so you can use a colon like basically every other language.</p>
<p>On Railo, you can use struct/array literals as expressions, meaning you can use them in CFRETURN, as function/method arguments, or any where else.  The only-assignment restriction is a ColdFusion issue, not a CFML issue.  So people are implementing it correctly, just Adobe totally dropped the ball.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Elliott Sprehn</title>
		<link>https://www.barneyb.com/barneyblog/2008/07/14/coldfusion-struct-literals-fail-again/comment-page-1/#comment-107088</link>
		<dc:creator>Elliott Sprehn</dc:creator>
		<pubDate>Mon, 21 Jul 2008 08:34:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/?p=442#comment-107088</guid>
		<description>Also, for that matter, why can&#039;t we pass literals as attribute values or directly in function calls?All the above languages also support that.</description>
		<content:encoded><![CDATA[<p>Also, for that matter, why can't we pass literals as attribute values or directly in function calls?All the above languages also support that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Elliott Sprehn</title>
		<link>https://www.barneyb.com/barneyblog/2008/07/14/coldfusion-struct-literals-fail-again/comment-page-1/#comment-107086</link>
		<dc:creator>Elliott Sprehn</dc:creator>
		<pubDate>Mon, 21 Jul 2008 08:31:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/?p=442#comment-107086</guid>
		<description>Sigh, this does seem to be an extremely half baked feature. Hopefully once the CFML committee is up and running and there&#039;s a real standard for how the language should behave we&#039;ll be able to push Adobe to fix this stuff.

I&#039;d really like to see allowing quoted strings in the name part.

{ &quot;Something With Spaces&quot; = [ &quot;a&quot;, &quot;b&quot;, &quot;c&quot; ] }

php, ruby, python, perl, groovy, javascript, as3 ... Everyone has literal notation like this now that allows quotes and proper nesting.

Why are we in the stone age? :/</description>
		<content:encoded><![CDATA[<p>Sigh, this does seem to be an extremely half baked feature. Hopefully once the CFML committee is up and running and there's a real standard for how the language should behave we'll be able to push Adobe to fix this stuff.</p>
<p>I'd really like to see allowing quoted strings in the name part.</p>
<p>{ "Something With Spaces" = [ "a", "b", "c" ] }</p>
<p>php, ruby, python, perl, groovy, javascript, as3 &#8230; Everyone has literal notation like this now that allows quotes and proper nesting.</p>
<p>Why are we in the stone age? :/</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: barneyb</title>
		<link>https://www.barneyb.com/barneyblog/2008/07/14/coldfusion-struct-literals-fail-again/comment-page-1/#comment-105377</link>
		<dc:creator>barneyb</dc:creator>
		<pubDate>Wed, 16 Jul 2008 01:36:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/?p=442#comment-105377</guid>
		<description>Derik,

With CF 8.0.1, you can mix-and-match nested array and struct literals (e.g. [{id=1}, {id=2}]).  It was only disallowed in the initial 8.0 release.

Even more perplexing for the &#039;=&#039; decision is that both JavaScript, and named CFC/UDF parameters use the &#039;:&#039;.  The &#039;=&#039; is accepted for named CFC/UDF parameters, but not required.  To make it consistent with the existing language features, they should have at least allowed both.  I&#039;d have preferred to only allow &#039;:&#039; and deprecate the &#039;=&#039; in CFC/UDF parameters, but oh well.</description>
		<content:encoded><![CDATA[<p>Derik,</p>
<p>With CF 8.0.1, you can mix-and-match nested array and struct literals (e.g. [{id=1}, {id=2}]).  It was only disallowed in the initial 8.0 release.</p>
<p>Even more perplexing for the '=' decision is that both JavaScript, and named CFC/UDF parameters use the ':'.  The '=' is accepted for named CFC/UDF parameters, but not required.  To make it consistent with the existing language features, they should have at least allowed both.  I'd have preferred to only allow ':' and deprecate the '=' in CFC/UDF parameters, but oh well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Derek P.</title>
		<link>https://www.barneyb.com/barneyblog/2008/07/14/coldfusion-struct-literals-fail-again/comment-page-1/#comment-105345</link>
		<dc:creator>Derek P.</dc:creator>
		<pubDate>Tue, 15 Jul 2008 23:40:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/?p=442#comment-105345</guid>
		<description>I absolutely hate the &quot;=&quot; syntax, what were they thinking!? I imagine the thought process was &quot;easier for developers to &#039;get&#039;&quot;, but I still think its absolutely unconventional.

I wasn&#039;t aware you couldn&#039;t nest structs using literal syntax either, interesting.</description>
		<content:encoded><![CDATA[<p>I absolutely hate the "=" syntax, what were they thinking!? I imagine the thought process was "easier for developers to 'get'", but I still think its absolutely unconventional.</p>
<p>I wasn't aware you couldn't nest structs using literal syntax either, interesting.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean Corfield</title>
		<link>https://www.barneyb.com/barneyblog/2008/07/14/coldfusion-struct-literals-fail-again/comment-page-1/#comment-105307</link>
		<dc:creator>Sean Corfield</dc:creator>
		<pubDate>Tue, 15 Jul 2008 20:42:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/?p=442#comment-105307</guid>
		<description>OK, that was completely unclear (to me). I didn&#039;t realize you were saying the first fragment didn&#039;t work! Yeah, then in that case, I agree that it&#039;s broken.</description>
		<content:encoded><![CDATA[<p>OK, that was completely unclear (to me). I didn't realize you were saying the first fragment didn't work! Yeah, then in that case, I agree that it's broken.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
