Talk:Sort a list of object identifiers: Difference between revisions

From Rosetta Code
Content added Content deleted
m (Smls moved page Talk:Sort by OID numbers to Talk:Sort a list of object identifiers: more accurate and grammatically correct)
(two comments)
Line 1: Line 1:
In what significant way does this differ from [[Sort using a custom comparator]]? Or [[Natural sorting]] for that matter? Actually, one could directly use the code from [[Natural sorting]] to sort lists of OIDs. --[[User:Thundergnat|Thundergnat]] ([[User talk:Thundergnat|talk]]) 00:14, 8 July 2016 (UTC)
In what significant way does this differ from [[Sort using a custom comparator]]? Or [[Natural sorting]] for that matter? Actually, one could directly use the code from [[Natural sorting]] to sort lists of OIDs. --[[User:Thundergnat|Thundergnat]] ([[User talk:Thundergnat|talk]]) 00:14, 8 July 2016 (UTC)

: I think it's okay if one task is a generalization of another, because the more specific version might be able to take shortcuts that can lead to different approaches in some languages. --[[User:Smls|Smls]] ([[User talk:Smls|talk]]) 12:21, 24 August 2016 (UTC)


== Correctly sorted? ==
== Correctly sorted? ==


That output has some undocumented decorations on it, presumably those are not relevant to the task? --[[User:Rdm|Rdm]] ([[User talk:Rdm|talk]]) 00:32, 8 July 2016 (UTC)
That output has some undocumented decorations on it, presumably those are not relevant to the task? --[[User:Rdm|Rdm]] ([[User talk:Rdm|talk]]) 00:32, 8 July 2016 (UTC)

: I rewrote the task description and replaced the test-case with a new one, now without ASCII decorations. --[[User:Smls|Smls]] ([[User talk:Smls|talk]]) 12:21, 24 August 2016 (UTC)

Revision as of 12:21, 24 August 2016

In what significant way does this differ from Sort using a custom comparator? Or Natural sorting for that matter? Actually, one could directly use the code from Natural sorting to sort lists of OIDs. --Thundergnat (talk) 00:14, 8 July 2016 (UTC)

I think it's okay if one task is a generalization of another, because the more specific version might be able to take shortcuts that can lead to different approaches in some languages. --Smls (talk) 12:21, 24 August 2016 (UTC)

Correctly sorted?

That output has some undocumented decorations on it, presumably those are not relevant to the task? --Rdm (talk) 00:32, 8 July 2016 (UTC)

I rewrote the task description and replaced the test-case with a new one, now without ASCII decorations. --Smls (talk) 12:21, 24 August 2016 (UTC)