6
\$\begingroup\$

In Rename [code-challenge] to something more site-specific, it was proposed to rename to avoid confusion with . That renaming (to ) has been completed.

However, part of the problem is that could also be better named.

\$\endgroup\$

1 Answer 1

4
\$\begingroup\$

I propose renaming to . 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 tag. (Frankly, I never really liked lumping Project Euler questions with the online judge questions.)

So, we would end up with and , both of which should be unambiguous in meaning and unlikely to be confused with anything else.

\$\endgroup\$
9
  • \$\begingroup\$ What about other sites, such as CodeChef? I don't think we need a separate tag for that. \$\endgroup\$
    – Jamal
    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\$ May 27, 2014 at 2:54
  • \$\begingroup\$ Okay. If this does get approved, I wonder how this will be cleaned up. \$\endgroup\$
    – Jamal
    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\$ 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\$
    – Jamal
    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\$ May 27, 2014 at 3:23
  • 4
    \$\begingroup\$ Instead of project-euler, may I suggest code-kata ? \$\endgroup\$
    – rolfl
    May 27, 2014 at 3:26
  • \$\begingroup\$ Code kata is not an intuitive name at all for me \$\endgroup\$
    – konijn
    May 27, 2014 at 14:51
  • \$\begingroup\$ www.reddit.com/r/dailyprogrammer does not follow the model either \$\endgroup\$
    – konijn
    May 27, 2014 at 14:52

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .