C
Carl Cerecke
Erik said:I prefer the name _pair_.
Yeah. The short form is that both are right and which one is more
common is probably regional more than anything. I've heard people say
_toople_ vs. _tuhple_, but I've never heard anyone say _quintoople_ vs.
_quintuhple_ (granted, not that the situation arises all that often).
But come to think of it, it kind of does. I've heard _quintuhplet_ and
_sextuhplet_ and the like plenty of times, and I've never heard it
pronounced the other way (in General American). m-w.com shows something
interesting here -- the first listed pronunciation for _quintuple_ is oo
with uh being an alternate, but the first listed pronunciation for
_quintuplet_ is uh with oo being an alternate. Which probably goes to
emphasize that that it's just whatever you're used to and there's no
rhyme or reason to any of it.
Of course that's still a completely valid construct in Python so the
question stands. If a 4-tuple is a quadruple, a 3-tuple is a triple, a
2-tuple is an pair, then I guess a 1-tuple would be a single. Granted
that's not nearly as gruesome enough a name to go with the special
lopsided Pythonic creature mentioned above. I suggest we name it a
hurgledink.
So, ahhh, what about zero-tuples? zuple? uple? Surely it would be better
for 2,1, and 0-tuples to be called 2,1, and 0-tuples.
And, BTW, in New Zealand, I've only ever heard the pronunciation
'tupple'. toople sounds kind-of stoopid.
Cheers,
Carl.