Re: Pass by Reference

new topic     » goto parent     » topic index » view thread      » older message » newer message
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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu