1

I fixed the wrong output in a code comment that was clearly wrong and misleading. It's the top and approved answer and obviously he only copied the code from the question and then changed the code without adjusting the comment with the output. It's very confusing if a comment states a different output than the code does, I think it's legitimate to fix that.

I edited that and fixed it. 2 declined my edit, 1 approved it. It got declined. What to do in those cases? Honestly, it's pretty annoying if users fix wrong stuff and then the edit gets rejected.

And leaving a comment on the answer that has obviously a mistake included? That's not a good solution imo.

Here the links:

Rejected edit: https://stackoverflow.com/review/suggested-edits/23090043

Question: Get a PHP DateTime difference in days, considering midnight as a day change

8
  • 1
    Thanks @yivi for editing it and fixing the wrong output.
    – Andreas
    May 23, 2019 at 12:56
  • I just realised after 2,000 reputation (not far away from that) my edits get approved automatically. But the basic problem remains - legitimate edits being refused for no good reason is imo not good.
    – Andreas
    May 23, 2019 at 12:57
  • 2
    Only ~70Rep and you will have the power to edit the world. Gambate. May 23, 2019 at 12:57
  • Reviewers will review. Some of them correctly, others less so. What do you expect meta to do about this? In general, suggested edits to code are always a risky business. Luckly in about 60 points you won't be subject to review anymore.
    – yivi
    May 23, 2019 at 13:18
  • Edits to code are a touchy subject, people will see that as a form of trespassing. Don't touch someone else's code; if you can do better, post your own answer with your own code and be judged for it on your own reputation pool. Sometimes there is merit to that too, but not in this particular case of course.
    – Gimby
    May 23, 2019 at 13:34
  • Your edit was fine and a perfect use of the edit privilege. Your edit description was not bad either. But suggesting changes to code, even if these changes are to comments, is not always a great experience when your edits need to be reviewed and reviewers may not be subject matter expects to judge the validity of your edits. Better to apply them when you have full edit privileges.
    – yivi
    May 23, 2019 at 13:37
  • Of course, I totally understand that. But I even posted a link to the code execution so the reviewer can verify the output. It's just frustrating if reviewers do a bad job. My experience with reviews hasn't been very good here in general, unfortunately.
    – Andreas
    May 23, 2019 at 13:39
  • 2
    Well, I checked some of your latest rejected suggestions, and I have to say I find merit in those rejections. Neither this, nor this, nor this or this are good edits. So maybe your experience wasn't so bad as you think it was. Just got a dud with this latest experience. These edits are generally very old, so very likely you'd do better today.
    – yivi
    May 23, 2019 at 13:47

0

You must log in to answer this question.

Browse other questions tagged .