Re: Pass by Reference
- Posted by mattlewis (admin) Jan 12, 2015
- 2288 views
dcuny said...
mattlewis said...
Now I'm really confused. The naked stuff seems to make things implicit. It seems pretty explicit the way it is right now. I suspect I'm not getting what you're trying to say.
I think you're looking at it from the other direction. I'm referring to the return statement in the function, not the assignment.
Yes, I didn't even consider the return statement, since there were none in your examples.
dcuny said...
I'm suggesting making the number of values coming back from a function should be part of the language.
With the new syntax, it's not necessary, but I think it has value.
Did that make sense?
Yep, I'm tracking now. Not convinced of the value of this yet, however...
Matt