Re: Pass by Reference
- Posted by Shian_Lee Jan 04, 2015
- 2886 views
jimcbrown said...
Yep. I feel that simple is good, but too simple is bad. In other words, you can have too much of a good thing. All things in moderation, etc.
I think that global/local variable is much more safe attitude then 'Pass by Reference'.
'Pass by Reference' quickly gets out of control. while global/local variable is much more clear and easy to be documented.
...I could guess that as soon as OOP will arrive to Euphoria - things will get messy. I truly wish that there is a way to implement OOP in Euphoria, without destroying the best parts of it - such as 'Pass by Value'.