Skip to main content
edited tags
Link
gnat
  • 6.2k
  • 10
  • 109
  • 177
Became Hot Meta Post
Source Link
Ryan M Mod
  • 20k
  • 12
  • 190
  • 217

How to handle a question that was scoped to a single language, but has a large number of answers that ignored that scope?

Find the smallest positive integer that does not occur in a given sequence asked how to solve a particular Codility problem in Java (it was tagged with the tag originally).

Since then, the page has acquired answers in a variety of other languages that Codility supports (and maybe others, I didn't really check all 118). Many of those answers are very well-received. Eventually, the asker removed the tag.

Generally, we scope questions to one language/technology (with some exceptions for things like Java/Kotlin or JavaScript/TypeScript where there's interop between the two), which would make "solve this in any language" not especially well-scoped.

What should we do in a situation like this?

  1. Is it a problem? Or is it okay since all the answers address the problem of "how to pass this exercise in Codility?"
  2. If it is a problem, how should we solve it?