Talk:Rosetta Code/Run examples: Difference between revisions

→‎Some points: More issues with the task
(→‎Some points: More issues with the task)
Line 21:
# Layout of examples: examples have not been created to be auto-run and massaging a wide selection of examples to run could make for too long a program. You might consider something like ''"Assume that code inside the first <nowiki><lang></nowiki> tag below the languages <nowiki>{{header|}}</nowiki> tag is all that need run"''.
#: that sounds like a good idea. in my mind i expected each <nowiki><lang></nowiki> tag to be a separate solution, so the downloading could would have to pick one or run all of them on by one.--[[User:EMBee|eMBee]] 18:51, 22 November 2011 (UTC)
#:: That's not universally true. Sometimes answers are structured as two parts: the core of the solution, and a driver/testbed that applies the solution to a particular case. Other languages sometimes have multiple <nowiki><lang></nowiki> sections, one per file needed to create the solution (I've seen this quite a bit with the Ada solutions). –[[User:Dkf|Donal Fellows]] 07:59, 16 April 2012 (UTC)
# Would this lead to high server load when developing and testing a solution - especially for the extra credit part of the task?
#: Running every example's going to be impractical anyway. Some require extra command line arguments. Some require user interaction. Running a single example for a single language would be enough (where they are nominated at runtime; no hard-coding!) and wouldn't cause problems with excessive server load. –[[User:Dkf|Donal Fellows]] 15:38, 23 November 2011 (UTC)
Anonymous user