I'm working on modernizing Rosetta Code's infrastructure. Starting with communications. Please accept this time-limited open invite to RC's Slack.. --Michael Mol (talk) 20:59, 30 May 2020 (UTC)

Talk:Last list item

From Rosetta Code

Sorted lists

Should all sorted solutions be deleted - or just one word in the task description? --Walter Pachl 07:00, 24 October 2021 (UTC)

It's probably my fault that we've ended up with both.
When the task started out, you were only required to provide the last item which my 3 solutions did. However, the Ring answer (504) was wrong as was clear from printing out intermediate results. So the author made this a task requirement and I changed my solutions accordingly.
The next time I looked the task requirements had been changed again to require 'unsorted' output. However, I couldn't just delete the 'sorted' ones as it would have orphaned the Algol 68 solution which was a Wren translation and I thought it was a better and clearer way of doing it in any case. So I decided to add a second 'no sorting' version instead.
The Algol 68 solution has since been changed and so I'd have no objection to removing the sorted versions. However, the task author himself has now added a second 'sorting' version, so I don't know where this leaves us. I guess that, as long as you meet the task requirements, it doesn't really matter if you show other ways of achieving the same result so perhaps it's better just to leave things as they are or to make a 'sorting' version optional? --PureFox (talk) 09:03, 24 October 2021 (UTC)
Thanks for caring and explaining :-)
Get vaccinated and stay healthy! --Walter Pachl 10:47, 24 October 2021 (UTC)
Thanks but don't blame yourself. When I added the Algol 68 sorted version, every other solution wa a translation of Wren except Ring (and Wren, obviously). --Tigerofdarkness (talk) 12:25, 24 October 2021 (UTC)
Note the unsorted requirement didn't come from the task author. --Tigerofdarkness (talk) 12:33, 24 October 2021 (UTC)
The unsorted part did come from CalmoSoft, as can be seen in the page history: https://rosettacode.org/mw/index.php?title=Last_list_item&type=revision&diff=345402&oldid=345401 I did however change the wording to be (what I thought was) clearer. --Chunes (talk) 12:55, 24 October 2021 (UTC)
My apologies, you are right - I mis-read the history. --Tigerofdarkness (talk) 13:03, 24 October 2021 (UTC)