Re: Pass by Reference
- Posted by dcuny Jan 04, 2015
- 2855 views
petelomax said...
I will always prefer
{i,j,k} = thing(i,j,k)
Why not
i,j,k = thing(i,j,k)
The first example implies you are trying to build a sequence, while the second looks like an assignment.
Plus, it matches the syntax of existing languages (such as Python) which already support this feature.
- David