Why tuple with one item is no tuple

Ville Vainio ville at spammers.com
Tue Mar 29 08:44:20 EST 2005


>>>>> "Ville" == Ville Vainio <ville at spammers.com> writes:

    Ville> To me, nothing is more natural than "ab" + "cd" ==
    Ville> "abcd". Also [1,2] + [3,4] == [1,2,3,4]. "Dot product" is
    Ville> not really too useful in real world (non-mathematical)
    Ville> apps.

... and of course by "dot product", I don't mean dot product at all. I
was thinking of summing vectors, which is not that much more common
either.

-- 
Ville Vainio   http://tinyurl.com/2prnb



More information about the Python-list mailing list