3 ms·
I think they've interpreted "variable length tuple" as "a tuple whose length can change", not "a tuple whose length could be one of multiple options". The form
by OrderlyTiamat 3y ago
I think they've interpreted "variable length tuple" as "a tuple whose length can change", not "a tuple whose length could be one of multiple options".
The former is of course not possible with tuples being immutable, which is why they're talking about lists.
- Timon3 3y agoYeah, that seems likely. I'm not sure how to express the concept aside from the name I've seen used in the community (and my many subsequent explanations), considering I was explicitly talking about typing.
- OrderlyTiamat 3y agoI don't know either. Since the alternative interpretation is a contradiction in terms, you'd think this name would cover the intended meaning. Maybe something like "unknown length tuple"? chatgpt suggested "arbitrary-length" or "undetermined-length" as synonyms, that could be a more easily understood expression perhaps.
- Timon3 3y agoThose are good suggestions, thanks!