Talk:Rosetta Code/Run examples: Difference between revisions

Content added Content deleted
(→‎Overly ambitious: A useful, simpler starting point)
(→‎Task status: Replied to Thundergnat.)
Line 62: Line 62:
:::::I thought Pete made a good point about having some way of determining whether code was runnable or not and ideally you should include the version number and platform(s) as well. But, whilst that might be good practice for the future, it's difficult to see how one could enforce it and, even if you could, trying to deal with what's happened in the past for all languages would be impractical in any case.--[[User:PureFox|PureFox]] ([[User talk:PureFox|talk]]) 20:56, 15 February 2020 (UTC)
:::::I thought Pete made a good point about having some way of determining whether code was runnable or not and ideally you should include the version number and platform(s) as well. But, whilst that might be good practice for the future, it's difficult to see how one could enforce it and, even if you could, trying to deal with what's happened in the past for all languages would be impractical in any case.--[[User:PureFox|PureFox]] ([[User talk:PureFox|talk]]) 20:56, 15 February 2020 (UTC)


::::I see you've added Go to the Perl 6 entry's repertoire and that it's already earned its keep by identifying non-running code in the [[Determine_if_a_string_is_numeric#Go]] entry :)

::::The first example predates Go 1.0 (2012) and possibly was valid syntax at the time. Anyway I've brought it up to date now.

::::The second example was only added recently and doesn't strictly meet the task requirements as it only checks for integer-ness. However, I've cleaned it up a bit and let it stand in the circumstances.

::::Looks like I might have to check through the old Go examples to make sure they still work.--[[User:PureFox|PureFox]] ([[User talk:PureFox|talk]]) 18:21, 16 February 2020 (UTC)
::::::Another idea is to restrict efforts to http://rosettacode.org/wiki/Category:Simple --[[User:Petelomax|Pete Lomax]] ([[User talk:Petelomax|talk]]) 10:30, 16 February 2020 (UTC)
::::::Another idea is to restrict efforts to http://rosettacode.org/wiki/Category:Simple --[[User:Petelomax|Pete Lomax]] ([[User talk:Petelomax|talk]]) 10:30, 16 February 2020 (UTC)