Euphoria Language Changes
- Posted by Shawn Pringle <pringle at techie.com> Jan 19, 2002
- 432 views
Pass by reference in Euphoria? One of the things that has made Euphoria different and I think easier is it's pass by value policy. Before implementors remind me "it is not really pass by value"... I know it is copy on write I am refering only to how it looks to the language definition only not if it actually does memcpy all over the place. Basically I like EUPHORIA's behavior the way it is NOW. Nothing is modified on the right hand side of the assignment operator. Pass valueable information into any function or procedure and not worry that data is accidently modified when it shouldn't. It also makes EUPHORIA an ideal learning language. EUPHOIA objects returned can be of unlimited size and structure why pass by reference? only to modify things in place. Regards, Shawn Pringle