Talk:Doubly-linked list/Definition

From Rosetta Code
Revision as of 01:36, 12 November 2009 by rosettacode>Avmich (Task definition is unclear?)

Some languages provide pre-defined libraries for doubly-linked lists. Do you want to allow use of those libraries? --Waldorf 21:44, 26 December 2008 (UTC)

I would say showing implementation would be more interesting than simply using "vectors", "lists" or whatever else the language/built in libs have. Nonetheless, as it happened in another task, this site is about showing common (?) way to do things in a language, not implementing libraries... So if a (standard and widespread) libs/way exist in a language, I believe it should be used. Am I right? ... In C, there's no such a standard library (or I don't know it...), so I implemented the code. --ShinTakezou 18:17, 13 January 2009 (UTC)

About C

I wrote this code for another task, but it was not suitable for it. Then I discovered it is suitable for this one; but I did not test it deeply. --ShinTakezou 18:17, 13 January 2009 (UTC)

Relation with other tasks?

There two colliding tasks:

This seems like a piece of silly duplication... —Dkf 13:06, 16 May 2009 (UTC)

Yes. Feel free to merge. Same with the Singly-linked list tasks. --IanOsgood 14:26, 16 May 2009 (UTC)

Task definition is unclear?

What does it mean "The structure should not allow circular loops"? To me, it's the design of data structure, which should support that; however, I seem to see in the some examples that it's the attached code which takes care about that.

And the code itself, by the way, isn't required by this task, though it would clearly be useful to have data structures together with associated code for working with them. Should we update the task definition (and possibly make existing examples invalid)?Avmich 01:36, 12 November 2009 (UTC)