Skip to main content
16 events
when toggle format what by license comment
May 23, 2017 at 12:38 history edited CommunityBot
replaced http://stackoverflow.com/ with https://stackoverflow.com/
Jan 7, 2015 at 10:47 history closed Mureinik
Praveen Prasannan
Infinite Recursion
user3942918
Bart
Duplicate of When should I make edits to code?
Jan 6, 2015 at 20:30 review Close votes
Jan 7, 2015 at 10:52
Jan 6, 2015 at 20:18 comment added Servy @tmyklebu You know that there is a problem. What you don't know with certainty is what the solution to that problem is. You have determined that the OP's code doesn't replicate his results, meaning he has not given you the code he's actually using. Given that the solution is to get the OP's real code, rather than to try to guess what his real code is (especially if you guess wrong).
Jan 6, 2015 at 20:15 comment added tmyklebu @Servy: I wait with bated breath for your illustration of how #include <sdtio.h> in a novice's C program would cause anything other than a compilation error.
Jan 6, 2015 at 20:12 comment added Servy @tmyklebu It's certainly possible. It may not be the case, but it's a possibility. If nothing else it's a very strong indication that there are other differences between the code in the question and the code the OP is running.
Jan 6, 2015 at 20:10 comment added tmyklebu @Kendra: Again, the reasoning your post uses is that the edit might mask the original problem. That is not possible here.
Jan 6, 2015 at 20:09 comment added Kendra And my last note on this: There is a FAQ post about when to make edits to code. To quote verbatim the relevant part: "Don't: -Fix Syntax (non-closed brackets, missing semi-colons, etc.) -Fix typos (misspelled function calls, variable names, etc.)" In other words, do not fix the code in the question. Period. Regardless of reason.
Jan 6, 2015 at 20:09 comment added tmyklebu @Kendra: That edit does not risk removing the problem. In the second question you link, the reasoning for rejecting code edits is that "the original code may be part of the problem." Here, it is clearly not. Do you have any meta links that actually support your (and Servy's) position?
Jan 6, 2015 at 20:08 comment added Kendra And you can't know for sure that the OP did not have that in their actual code (as in true intentions). Yeah, it might not run with that, but the point is do not make any edits that risk removing the problem. Also related: meta.stackoverflow.com/a/266479/2607247
Jan 6, 2015 at 20:05 comment added tmyklebu @Kendra: The accepted answer to the question you link uses the reasoning "you can't tell for sure what the true intentions were." That's obviously not the case here. Further, ChrisF's answer suggests editing.
Jan 6, 2015 at 20:04 comment added Kendra Also, Revision 4 wouldn't have been "rejected" anyway because the user has edit privileges. If they didn't, they would not have been able to make that small of an edit at all.
Jan 6, 2015 at 20:02 comment added Kendra Well, the correct way to handle that, tmyklebu, is to comment to the asker of the question that there is no way to achieve what they listed with that particular error in their code. It is still considered an incorrect edit if it changes the code of the question. Related: meta.stackoverflow.com/questions/252806/…
Jan 6, 2015 at 19:59 comment added tmyklebu @Kendra: By the letter of the law, I agree. But there's exactly one reasonable way to make the code express the symptoms listed, and that's what revision 4 did. It seems absurd to reject an edit that renders the question coherent and answerable.
Jan 6, 2015 at 19:48 answer added Servy timeline score: 10
Jan 6, 2015 at 19:45 history asked tmyklebu CC BY-SA 3.0