Talk:Rosetta Code/Run examples

Revision as of 17:51, 22 November 2011 by rosettacode>Mwn3d (Output extra credit)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Output extra credit

Since it's just extra credit I don't think this should keep it from being a full task, but I'm concerned about the output checking EC. It might just end up being too problematic because of the different ways languages show certain things. The first example I thought of was lists. Here's how the same list might look in different languages:

Scheme/LISP(s):

(1 2 3 4 5)

Java:

[1, 2, 3, 4, 5]

J:

1 2 3 4 5

Prolog:

[1,2,3,4,5]

All of those are the same list, but they look pretty different. I'm also a little worried about someone taking a solution that does this output checking and using it to mark examples incorrect, but that doesn't seem very likely at all so I'm not that worried--only a little bit. Like I said, it shouldn't keep this from becoming a full task, but people should make sure they think ahead a lot if they try to do this EC. --Mwn3d 17:51, 22 November 2011 (UTC)

Return to "Rosetta Code/Run examples" page.