-4

I had submitted an edit on an answer on Stack Overflow available here.

Suggested Review details are available from here.

I had provided justification available from here of why the edit was needed since the existing answer was providing an incorrect solution.

How can I challenge the rejection for probably more voting consideration since the edit is actually improving the answer?

2
  • 11
    Edits are not for making major changes to code, if you think the answer is wrong downvote it and write your own answer.
    – greg-449
    Commented Aug 23, 2019 at 15:04
  • 3
    I agree with @greg-449. I'd have rejected this as well.
    – jhpratt
    Commented Aug 23, 2019 at 20:15

1 Answer 1

22

That was a very bad edit suggestion and the reviewers were correct to reject it. On Stack Overflow, edits that change code are highly discouraged. The problem is not that we don't want people to suggest better code (we do), but that using edits to do so breaks the Question and Answer format of the site.

  • "Fixing" the code in a question can invalidate the premise of the question, especially if the question was asking for debugging help.
  • "Fixing" the code in an answer may inadvertently break functionality.

Instead of suggesting a change to code, post an new answer with your new code and explain why it is better than the other answers!

3
  • 4
    To point out the issue with the framing of the question here another way -- the suggested edit already got a review, and the review resulted in rejection of the edit.
    – TylerH
    Commented Aug 23, 2019 at 15:24
  • 5
    There's also the possibility of adding a comment to the answer explaining what you perceive the problem with the code to be. This can prompt an edit to fix the problem, or a comment back on why it isn't one. Commented Aug 23, 2019 at 16:16
  • Or add a comment. Commented Aug 24, 2019 at 0:14

You must log in to answer this question.

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