Skip to main content
1 of 4
ajb
  • 31.7k
  • 13
  • 14

How to handle programming questions with many, many errors?

Every now and then I see a question from a new programmer that is so far from being correct that it's clear the questioner has not grasped the basics. See http://stackoverflow.com/questions/36709119/java-scanner-class-public-boolean#36709163, for example. My feeling is that an answer would have to be quite a long one, going over many points, to be helpful. My first reaction was to suggest in a comment that the questioner should find a tutor or someone else to show them what to do, since their code was so far from correct that StackOverflow wouldn't be of much help. But after I wrote that comment, I erased it without submitting. Unlike the homework dumpers, this person actually is trying--they just seem very lost.

What's the best way to handle questions like this?

ajb
  • 31.7k
  • 13
  • 14