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

This question already has an answer here:

On Stack Overflow I find many code snippets which are otherwise correct but will throw an error because of the case sensitive nature of the programming language it's written in (Java, Unix, etc).

I try to edit them when possible. But am asking the question because most of the time the changes are less than 6 characters and so editing is not possible. I leave comments but most are ignored.

Is it necessary for a minimum characters cap for editing? I have seen 'Title' can be edited with just one change. And reviewers can easily reject edits which are not useful.

Or will it be useful if we remove the minimum character cap for editing when it is in a code block?

Stack Overflow code snippets have helped millions (including me numerous times) and it hurts to see such trivial mistakes in them.

share|improve this question

marked as duplicate by Toon Krijthe, Lance Roberts, michaelb958, Martijn Pieters, hims056 Feb 28 '14 at 4:17

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

If you have 2k+ rep, then you can make all of the trivial edits you want. – Richard J. Ross III Oct 23 '12 at 5:22
Ah!!! Thanks..didn't know that. That answers my query(about minimum character cap). Another your comment not worthy of being an answer?? – Maitreya Oct 23 '12 at 5:24
up vote 4 down vote accepted

I would argue that this is very rarely a situation that poses itself, and it helps to keep the review queue clean. Since once you have > 2k rep this isn't a factor anyway, the best option in this scenario is to flag the answer for attention by a moderator. Not only does it help you towards your 'Marshal' badge, it helps to ensure that other edits aren't missed as well (e.g. spelling & grammatical errors).

share|improve this answer
Oh! So we can flag mods for such issues too. Hmmm!! Ok!! – Maitreya Oct 23 '12 at 5:31

Please **do not** edit case-sensitive code!

This can make answering a question impossible if the code is seemingly completely correct after editing.

When this situation arises, I would either answer a question with the corrected case of the code (with any other changes necessary, of course), or post a comment on an answer that has improper casing.

share|improve this answer
This depends on whether the code is in a question, and whether it is the main point of the question. You should correct it if it is un-related to the main point of question, or if the code is in an answer. – ronalchn Oct 23 '12 at 8:46
@ronalchn: I was bothered about the code in the answers. – Maitreya Oct 23 '12 at 10:11

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