Pass by reference is usually terrible not only for the complexity it brings
in managing all the copies but in performance and memory utilization. I've
had some terrible times trying to work around this absurd behavior of arrays
being passed by value where all other complex values are passed by
reference. Basically, someone a LONG time ago at Allaire made a REALLY bad
decision, and we're still paying for it today.

On Sat, Feb 14, 2009 at 2:36 AM, Mark Mandel <[email protected]> wrote:

> You do realise that if everything by value.. you could never build complex
> systems?
>
> A a = new A();
> B  n = new B(a);
>
> Suddenly 'b'... has a Copy of 'a'... what the?
>
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CFCDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cfcdev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to