Re: Multi-assign

new topic     » goto parent     » topic index » view thread      » older message » newer message
_tom said...

This is how I understand multiple-assign so far...

Yes.

_tom said...

Of these choices the $ symbol is the worst choice because:

...

Clearly, $ means "end marker" in Euphoria. Using $ for other purposes is OK, but using $ for "other purposes" within a sequence is very bad--an entrenched pattern is being broken.

Any marker, other than $, makes more sense.

Well, I still disagree. smile There are currently two uses of $: length shortcut in subscripting, and list terminator. I see adding it here as similar to its list termination duties, and like it in part because it's already used that way.

But it looks like I may be out-voted. Of the other options, I think a tilde '~' is the next best choice.

Matt

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

Search



Quick Links

User menu

Not signed in.

Misc Menu