7

In the last few days, we have had 3 different questions which have the basic structure of "please debug this program for me", followed by a lot of code. In one case over 600 lines, in another one over 460 lines. The third case mercifully said that the code was too long to post.

Are such questions on topic?

We've probably had good questions in the past about the meaning of short code sequences, but this seems to be a new and recent thing. It's not the same as asking "how do I do $WHATEVER", it's being asked to look at actual code that purports to do it but fails, or to explain how the program works.

5
  • See also: Should we have retro-coding questions on Retrocomputing?
    – wizzwizz4 Mod
    Commented May 4 at 16:20
  • 2
    Related, but not quite the same thing. Programming questions on old languages or old hardware, sure. Posting several hundred lines and asking for them to be debugged/explained, not so much.
    – dave
    Commented May 4 at 18:55
  • 5
    There's some discussion of debugging in Are x86 programming questions on-topic? – Chenmunka wrote “If the wording of the question specifically related to understanding some feature of old assemblers that is different to modern practice then it would be on topic. However, I don't believe we should be a debugging service.”. If you have an opinion, it's fine to self-answer a meta question.
    – wizzwizz4 Mod
    Commented May 4 at 18:58
  • Ah, I missed that particular sentence. Thanks.
    – dave
    Commented May 4 at 21:07
  • 1
    @wizzwizz4 I would agree as well.
    – Raffzahn
    Commented May 8 at 13:14

2 Answers 2

8

I assume it's these two question you've referring to:

While the first one can be seen with some good will as retro by being a 16 bit COM program, it's still a generic debug my program question; the second in turn completely leaves this territory by being a high level, machine independent algorithm coded in C. It's pure CS theory and as far from retro as it gets.


I would agree that the core component of this question is already covered in several answers to the question: Are x86 Programming Questions on Topic. Maybe a bit indirect. So it may help to point it out more directly:

RC.SE is not a debugging service.

The very same way as RC.SE is not a homework service.

There will always be a class of questions where the core is hard tied to a classic hardware, software or combination thereof. And those are not only fine, but very welcome. So we need to filter and protect them.

I do not think that size or language does really make a point for on/off-topicness. What does is how the problem approached and presented: I would expect the problem being analysed and broken down to a level that excludes generic CS and obvious debugging issues and presents a state the one asking can not explain, because the asked for component is not obvious using today's common knowledge (*1).

Using such a common sense classification could easy rule out all four of the questions mentioned. Fair rules/judgement are rarely about form or size but need o look at content and meaning.


*1 - This also means showing basic research, like what an address on the CPU programmed is, or that Assembler really executes straight ahead ...

-2

Yes they are on topic, otherwise we have to try to define a maximum number of lines of code we are willing to accept.

Clearly, ten lines of Z80 assembler is going to be no problem, whereas 300 lines of COBOL is no fun at all!

I propose people upvote questions they like, downvote questions they don't like and let the wisdom of the crowd be the judge.

4
  • 1
    Why do we have to make the threshold "lines of code"? Are there no other methods of discrimination?
    – wizzwizz4 Mod
    Commented May 8 at 20:19
  • 1
    Is it? I'd say 300 lines of COBOL is even more fun!
    – Raffzahn
    Commented May 8 at 21:32
  • 4
    "Lines of code" is to me a proxy for a lack of effort in isolating whatever the problem might be. In a similar way, we don't have a quantifiable threshold for how much detail is "too little", but we are still willing to close questions for having too little detail. Mostly, we know it when we see it, and we have a large enough membership to smooth out any localized biases.
    – dave
    Commented May 9 at 0:46
  • 2
    Come to that, I bet we'd have a de facto lines-of-question restriction if we started getting questions whose length exceeded what the average RC member was willing to bother with.
    – dave
    Commented May 10 at 21:28

You must log in to answer this question.

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