I'm curious, because some answers seem to be posted regardless of the winning answer. Should non-competitive answers be posted when better answers exist for entries of the same language?

  • 3
    \$\begingroup\$ Yes. Even if the solution doesn't win, different methods might be interesting. \$\endgroup\$ Jun 5 '17 at 18:25
  • 1
    \$\begingroup\$ Yes, absolutely. Part of the appeal of this site is seeing how other people approach the same problem in the same language using a different method, whether it be shorter or longer than your solution and can also, quite often, provide inspiration for solutions to future challenges. \$\endgroup\$
    – Shaggy
    Jun 5 '17 at 19:38
  • \$\begingroup\$ Related. \$\endgroup\$
    – user62131
    Jun 5 '17 at 23:33
  • \$\begingroup\$ Related, possible dupe \$\endgroup\$
    – user45941
    Jun 6 '17 at 2:07
  • \$\begingroup\$ IMHO it's always fine for anyone to answer any question. \$\endgroup\$ Jun 7 '17 at 23:36
  • \$\begingroup\$ To clarify, you're talking about answers that are definitely not going to win, but show effort? \$\endgroup\$ Jun 8 '17 at 4:35

Doing this is reasonable if the answer is significantly different

If straightforward golfing on your answer would transform it into an answer that already exists, it's not adding anything to the question.

On the other hand, if your answer has any sort of significant difference (faster or simply different algorithm, avoiding a specific cheat that's legal according to the question, using a particular subset of the language, etc.), then feel free to post it; if we want answers in more than one language (and we do), I can't see why we wouldn't also want multiple distinct answers in the same language.

  • \$\begingroup\$ This, on occasion I've even posted a new answer to the same challenge, in the same language when its approach is entirely different. \$\endgroup\$ Jun 6 '17 at 14:09
  • \$\begingroup\$ Also probably worth noting about the per language leader board. \$\endgroup\$ Jun 6 '17 at 14:13
  • \$\begingroup\$ @TheLethalCoder the per language leader board? (What exactly is that?) \$\endgroup\$
    – Tezra
    Jun 8 '17 at 18:50
  • \$\begingroup\$ What it says on the tin. \$\endgroup\$ Jun 8 '17 at 23:58
  • \$\begingroup\$ @Tezra Some challenges include leader boards in them, this includes a per language and lowest count overall. \$\endgroup\$ Jun 9 '17 at 8:14
  • \$\begingroup\$ @TheLethalCoder Maintained by the OP or SE? \$\endgroup\$
    – Tezra
    Jun 9 '17 at 12:16
  • \$\begingroup\$ @Tezra It's a fiddle, see here for an example. (No particular reason I picked that just the first one I cam across) \$\endgroup\$ Jun 9 '17 at 12:19

You must log in to answer this question.

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