> Definitely not! indeed, the usual interpretation of the > list is that a list contains the same type of elements and > it grows dynamically, whereas a tuple contains a static > amount of different kind of elements.
In Python (which has influenced much of my thinking in the last few years, including how I write C++ code), the only distinction is lists have dynamic contents, tuples are static.
What benefit is there to generally assuming homongenous content in one versus the other? I realise this is extremely useful in specific circumstances, at least assuming all items of a list support a given callable signature or can handle a given message (for Todd & other Smalltalkers).
Flat View: This topic has 15 replies
on 2 pages