Talk:Number reversal game: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 12:
:: Hi, I just saw yet another example added with the same flaw. I could add a note to the task description, but the task description seems to be OK. The problem is a subtle error in a lot of the implementations. I'll mark a few more as incorrect.
 
So the issue is that problem statement calls for an initial list that is definitely not in sorted order, and implementations should check for that. (I'm spelling it out because the above discussion doesn't, quite.)
::: Someone incorrectly marked the Clojure, Groovy, and Io versions as flawed. If the shuffle produces a sorted list, they all print "Done! That took you 0 steps" and exit, without soliciting any user input. I've removed those marks.
Anonymous user