5

In this question, the poster asks what I think is a genuine question with some explanation and a short snippet triggering a bunch of answers. Then, OP erased his snippet and replaced it with a good old text straight from an exercise.

enter image description here

What should be do when OP replaced his MCVE with the text of his homework question?

Note: I voted to close it but I think about retracting my vote.

7
  • 3
    The 'snippet' is an empty envelope. A burger bun with no patty. It was probably given out with the question. The question is the essence of unwelcoming and so, in traditional SO fashion, it gets answers:( Sep 7, 2019 at 9:36
  • 8
    I would roll back. It invalidates the answers or at least makes the answers seem out of context
    – rene
    Sep 7, 2019 at 9:39
  • @MartinJames I did find strange for a junior developer to use a Queue instead of a List. It did not stop me to answer too...
    – aloisdg
    Sep 7, 2019 at 9:40
  • 5
    You should probably have voted to close the question in first place instead of answering it because it lacked any description of what the problem is or what op asks about.
    – BDL
    Sep 7, 2019 at 10:06
  • @BDL My understanding was that OP was asking how to have two values in a collections (one for printing and one for sleeping). It seems quite clear to me.
    – aloisdg
    Sep 7, 2019 at 10:08
  • 5
    @aloisdg: Then why does op have an empty and unused MyQueue class? Or why is Sleep commented out? The point is, we are just guessing what op needs, expect for a complete solution to his task.
    – BDL
    Sep 7, 2019 at 10:11
  • @BDL empty class MyQueue -> to build its own queue with two items per slot. Sleep commented out-> no need to wait during debug time. At the end you are right, this is all wild guessing.
    – aloisdg
    Sep 7, 2019 at 10:18

0

You must log in to answer this question.

Browse other questions tagged .