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

I am referring to this question on SO, where there is a massive amount of commenting within the code (the question has since been edited to correct this).

Is it allowed to remove these for the sake for readability (the comments just specify some lesson details, method comments etc)?

share|improve this question
I was about to make a remark about the sheer lack of comments...then I realized you were talking about their code. – Makoto Jun 19 '13 at 4:37
clarified that. – midhunhk Jun 19 '13 at 4:39
The current question looks very neat (SO Question) – midhunhk Jun 19 '13 at 7:00


Of course, my OCD trumps my pride and policy of not editing OP's code, so I went ahead and stripped out those comments. The meat of the question is largely preserved - I'm stunned that the class was so noisy.

Personally, I'm not a fan of the amount of code comments present in the post, but I'm not of the opinion that it should be edited out by us. At least, not yet.

Give the OP a chance to better clarify their question by asking them to remove the redundant noise in the question, and to explicitly state what they're asking.

In retrospect, the comments don't actually add much value to the question itself, so asking the OP to clarify better without them should be sufficient. Removing them might be a bit heavy-handed, but if it improves readability and meaning, then I feel that it'd be a valid edit.

share|improve this answer
I didn't notice you'd edited the question, and I was wondering what the OP was talking about. I've edited the question to mention that you've .. uh, edited the question. The other one. – Asad Saeeduddin Jun 19 '13 at 4:58
I think I'll add a link to the original revision, for context. – Makoto Jun 19 '13 at 4:59

In this case, I think an edit was required to make the question readable.

What was most difficult for myself, was the absence of whitespace above comments, making it harder than necessary to scan past them to read just code. I might have first just tried inserting some blank lines to improve the vertical scanning.

share|improve this answer

You must log in to answer this question.

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