Skip to main content
13 events
when toggle format what by license comment
Jan 12, 2022 at 11:29 comment added Ian Goldby @BDL My point was that a question with only a screenshot doesn't allow the issue to be reproduced any more than a transcription containing errors would do, which is why I said a transcription is no worse. But I accept Tim's point that a transcription creates a (possibly) unreasonable amount of extra work for someone reviewing the edit.
Jan 11, 2022 at 21:32 comment added John I think formatting for readability is 99 and 44/100 % of the time a good thing. Programmers/Developers/whatever are not (contrary to managements ideas) machines. We need to be able to read the code if only to see if we can help. Having said that, if you edit someone's code, be nice when you talk to them about it. Too often someone goes all militant about it and that can have a detrimental affect overall. Thanks,
Jan 11, 2022 at 16:45 comment added Braiam "Don't worry too much about bumping a post on the active page" specially if you are improving the post. Self limiting yourself because someone might complain about you improving the content on the site makes no sense.
Jan 11, 2022 at 15:56 comment added BDL @IanGoldby In the screenshot case, surely providing a transcript cannot make the question any worse by introducing an error: Are you sure?
Jan 11, 2022 at 9:34 comment added Tim To my mind, the issue is less about being able to run the code, and more about the possibility of changing what the question is. Introducing a typo when transcribing an image fundamentally changes a question into a typo hunt, making it unlikely to be useful to anyone (including the OP, who didn't have the typo in the first place). Improving the formatting of existing code also doesn't change how easy it is to run the code, but does make it a lot easier to read the code and consider the actual question which is being asked.
Jan 11, 2022 at 9:32 comment added Tim There's a big difference when reviewing an edit. If the user has typed code from an image, the reviewer needs to check every single character to know whether or not the edit has fundamentally changed the question. Adding whitespace to a single line of code is much safer because it's fairly clear in the markdown view whether or not there are any non-whitespace changes.
Jan 11, 2022 at 8:59 comment added Ian Goldby Personally, I disagree with both accepted answers. In the screenshot case, surely providing a transcript cannot make the question any worse by introducing an error. (The screenshot isn't runnable in the first place.) But in this case introducing an error would certainly make the question worse.
Jan 11, 2022 at 8:57 comment added Ian Goldby There was a recent similar question here (although I can't now find it) about whether a question containing a screenshot of code should be edited to provide a transcription of the code in the screenshot. The consensus was a clear 'no' because of the possibility that the edit could introduce mistakes. Given that a screenshot cannot be 'run' anyway, I would have thought the risk/consequence of introducing mistakes that way is less than in reformatting text code here - at least here the version in the original question is definitive. So that implies a strong 'no' to should I reformat it.
Jan 11, 2022 at 8:42 comment added justhalf @leftaroundabout the conclusion is different from your analogy, though. cigien is saying that "your edit is only one among many, so don't be afraid that it will disturb people, just edit it", while your analogy is "your vote is only one among many, so don't bother to vote, it doesn't make a difference".
Jan 11, 2022 at 7:11 comment added leftaroundabout Agree, except with the last paragraph. That's a bit like saying, “a lot of people are voting in the elections, so why should I?”
Jan 11, 2022 at 5:30 vote accept AndrewGB
Jan 11, 2022 at 3:18 history edited cigien CC BY-SA 4.0
clearer wording
Jan 11, 2022 at 0:54 history answered cigien CC BY-SA 4.0