Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
I am the chief technical officer at InVision App, Inc - a prototyping and collaboration platform for designers, built by designers. I also rock out in JavaScript and ColdFusion 24x7.
Meanwhile on Twitter
Loading latest tweet...
Ben Nadel at cf.Objective() 2014 (Bloomington, MN) with: Jeff McDowell and Jonathan Dowdle and Joel Hill and Josh Siok and Christian Ready and Steve 'Cutter' Blades and Matt Vickers

Arrays By Reference In ColdFusion .... Sort Of

By Ben Nadel on
Tags: ColdFusion

I thought I was onto something GREAT concerning passing arrays by reference in ColdFusion. Tom, over on the House of Fusion's CF-Talk list, just pointed out that ArrayResize() has casting issues. I don't know how to deal with this as it is happening internally to a ColdFusion built-in method.

After doing some Google searches, it seems that other people has similar problems (several years ago... I guess I am slow off the block). Specifically, I found posts by Aaron Johnson and Tim Blair that talked about creating your own Java wrapper class. To deal with this.

Dang!

I am irritated right now for several reasons. Firstly, I thought I was onto something really really cool here. Although I can still use this methodology internally to stuff, I would rather have it globally useful. And secondly, these people dealt with similar issues several years ago! Ugg! Why did I not know this stuff. Why am I only learning it now. Why am I so slow off the block????




Reader Comments