Re: Pass by Reference
- Posted by _tom (admin) Dec 18, 2014
- 3519 views
dcuny said...
Why can't OpenEuphoria let me pass values by reference like just about any other language?
One "theme" of Euphoria is the lack of surprise...pass by reference, and routine parameters that change their arguments can result in surprises. Every change to an object is very deliberate; that means it is easier to debug.
OOEU does have pass by reference as an experiment. The result was only a small increase in speed.
_tom