Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 158 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

Often a user posts a question with a title stating what he or she attempts to do, and a question involving some code. In many cases, the problem why this code doesn't work is caused by some part of the code which is not at all specific to the kind of problem the user tried to solve in the first place.

Should the question title be edited to match the actual cause of the problem? If it is not, then other users having the same core problem might have a harder time finding it. If it should be edited, then who should edit it? The OP editing his or her own question is certainly all right, but would it be all right for the one who found the error to edit the title?

To give you an example:
This question is currently titled “How do I call main method of one class inside another class?” but the actual problem was a misuse of the List.toArray() method. There is nothing in that title suggesting that it might be of interest to people experiencing a ClassCastException after calling a toArray method. Would it be acceptable to rename the title to “ClassCastException casting result of toArray call to other array type” or similar?

share|improve this question
I use the following rule of thumb: When I'm a user who experience the same problem, which keywords am I going to enter? What title would positively draw my attention? Q&As are useless if no-one can find them. – Rob W Sep 13 '12 at 21:32
Very common type of question that follows this pattern - jquery duplicate post questions always have a very different culprit:… – Chris Moschini Mar 28 '13 at 19:38

I've taken to editing question titles recently. A good title is important because of its prominence in searches and the lists of related questions. I notice that novices often focus on irrelevant details, as you point out. In those cases I often alter the title to be in terms of the error message or exception they report; that is the crucial information that can make the question relevant to others. As the information was present in the body of the question, I do not believe I am distorting the question unduly.

I've noticed that questions that have irrelevant titles and which can not be altered in that way are often good candidates for closure.

share|improve this answer

Honestly, as long as a question is applicable to a wider audience and specific, then I don't see any reason to change it unless it needs it. In your case there is certainly merit.

As a community, we can can't always correct question titles in view of the actual problem/question/reason. It's a mistake to think that we can, but where we can, we should!

Personally, I find myself correcting titles in view of a potential wider audience (searches/SEO etc), but only when there is a basis for doing so. In reality, it comes down to quality and (as you cite) actual subject matter...

I'd like to think that many would/will rescue appallingly-titled questions to be more accurate/exacting, but only when the content merits it. Many questions are ill-titled, but more often than not, it requires domain expertise as well as a degree of common-sense to improve them.

share|improve this answer

You must log in to answer this question.

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