In Rename [code-challenge] to something more site-specific, it was proposed to rename code-challenge to avoid confusion with programming-challenge. That renaming (to community-challenge) has been completed.
However, part of the problem is that programming-challenge could also be better named.
1 Answer 1
I propose renaming programming-challenge to online-judge. Many of those problems have similar characteristics:
- Accept one line on standard input telling your program how many test cases follow. Each subsequent line of input, with space-delimited fields, represents one test case. Your program should read each line and print the corresponding answer.
- Some other online judges require your code to implement a specified API instead.
- Most of the time, the author is complaining that the code fails to scale up, or fails to produce the correct output for some input.
One kink with this proposal is that some questions, notably ones from Project Euler, don't fit that model exactly. We would therefore revive the project-euler tag. (Frankly, I never really liked lumping Project Euler questions with the online judge questions.)
So, we would end up with online-judge and project-euler, both of which should be unambiguous in meaning and unlikely to be confused with anything else.
-
\$\begingroup\$ What about other sites, such as CodeChef? I don't think we need a separate tag for that. \$\endgroup\$2014年05月27日 02:52:15 +00:00Commented May 27, 2014 at 2:52
-
\$\begingroup\$ I don't think we would need a [code-chef] tag, since those questions would fit the online-judge model. The online-judge questions tend to be very similar, regardless of where they come from. \$\endgroup\$2014年05月27日 02:54:47 +00:00Commented May 27, 2014 at 2:54
-
\$\begingroup\$ Okay. If this does get approved, I wonder how this will be cleaned up. \$\endgroup\$2014年05月27日 02:56:32 +00:00Commented May 27, 2014 at 2:56
-
\$\begingroup\$ Tag renaming shouldn't be difficult. Retagging the project-euler questions is a bit more disruptive, but isn't difficult — and it was only in the last few months that project-euler has been merged with programming-challenge. \$\endgroup\$2014年05月27日 02:58:03 +00:00Commented May 27, 2014 at 2:58
-
\$\begingroup\$ I never merged it, just synonymized it. That would help us out, considering merging cannot be reversed directly. I'm okay with helping out on the cleanup. \$\endgroup\$2014年05月27日 02:59:58 +00:00Commented May 27, 2014 at 2:59
-
\$\begingroup\$ Someone posted a CR for their solution to a LeetCode Online Judge problem. However, this site has you implement a provided method stub; you don't do any I/O. Thus I'm not quite sure why we should keep [project-euler] separate, other than it's popular and been around a long time. \$\endgroup\$David Harkness– David Harkness2014年05月27日 03:23:42 +00:00Commented May 27, 2014 at 3:23
-
4\$\begingroup\$ Instead of project-euler, may I suggest code-kata ? \$\endgroup\$2014年05月27日 03:26:51 +00:00Commented May 27, 2014 at 3:26
-
\$\begingroup\$ Code kata is not an intuitive name at all for me \$\endgroup\$konijn– konijn2014年05月27日 14:51:07 +00:00Commented May 27, 2014 at 14:51
-
\$\begingroup\$ www.reddit.com/r/dailyprogrammer does not follow the model either \$\endgroup\$konijn– konijn2014年05月27日 14:52:24 +00:00Commented May 27, 2014 at 14:52