Talk:Collections: Difference between revisions

simple array (or queues...) are collection according to this task?
(Please, clarify "set" and "value")
(simple array (or queues...) are collection according to this task?)
Line 5:
 
Please clarify in which sense the words "set" and "value" are used. Is set ordered? Are values comparable? Mathematically, array is not a set, it is an ordered set. Do arrays qualify? Further, the word "value" presume "value semantics." Is it an intention of the task? Shall the entities put into the collection be copied upon the operation? --[[User:Dmitry-kazakov|Dmitry-kazakov]] 02:38, 3 June 2008 (MDT)
 
: Some examples are "marked" but they seems complete, showing various kinds of collection (which is a rather generic term even in computer world); e.g. C++ is the most "complete", to me. D shows something similar, and it is not marked. Java shows lists as collection, and it is not marked (so, it shouldn't be marked C++; at most it should be shortened). Javascript (PHP...) is(are) marked, but it(they) show/s something not so different from Python or Ruby, which are not marked. Similarly for Smalltalk, which anyway shows only an ordered collection (enough to eliminate the Ordered part?)...
: Wanting to add languages like C and Fortran, a simple array or a queue (like FIFO...) seem (sometimes) unable to accomplish the task... Is it so? --[[User:ShinTakezou|ShinTakezou]] 13:42, 2 March 2009 (UTC)