Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [editing]

Editing is a core, fundamental Stack Exchange value; we allow editing by registered and unregistered users (if peer reviewed).

-2
votes
1answer
45 views

JavaScript concepts applying to JSX posts

Many posts are tagged with jsx as well as javascript and sometimes ecmascript-6, but then those latter tags are often removed by others. While I understand that jsx is not syntactically valid ...
7
votes
2answers
93 views

How should question bodies be organized?

The format that I know for question bodies is: Intro, often explaining where the problem originated. A problem statement explaining what the code is supposed to do. Perhaps a little more ...
10
votes
2answers
185 views

Is it allowed to edit code if there is no answer?

If I have kept working on the code, and there are no answers (say one week after the original post), am I allowed to edit the code to reflect the changes I have made to it? I believe this question is ...
3
votes
2answers
142 views

Unmodified question looks modified

This is maybe the fourth time I noticed this scenario since the start of this year, so I am curious to know if you have an explanation: When I clicked on Questions, I saw this: But when I clicked to ...
2
votes
2answers
78 views

Not notified of unwanted edits to question

I was surprised to see one of my questions being changed that much that the intent of the question was removed from it. As C++ is evolving rapidly, I was experimenting with one of its features: ...
6
votes
2answers
90 views

Is adding a single tag enough to constitute a meaningful edit?

Just now, it appears that the Suggested Edits review queue is full to the brim with a single user adding the performance tag to a lot of questions while leaving the content otherwise untouched. I ...
11
votes
2answers
78 views

Regarding editing questions

I'm confused about several aspects of editing, specifically editing questions. I often see editors such as the speedy Jamal and others making relatively minor edits (such as changing "i" to "I"). ...
-7
votes
2answers
62 views

A moderator edited my question. I don't like the way it looks now

The question in question is this. I specifically relate to the edit #2. I guess the intentions of the moderator were to improve the post, but I am unhappy about the way it looks now. The headlines are ...
4
votes
2answers
42 views

Edits change the main topic of my question. Have I done things wrong?

Recently, I posted the following question on Code Review: Convert ES6 yield recursive method to a loop At the beginning I post a question with actual code, asking if there is a way to write the same ...
6
votes
1answer
113 views

Major edits made to my question about using a string or array to index object in JavaScript

I have a question about my post: Dynamic way to use string/array as index of object in javascript I see that my first attempt at this question was outside the scope of what I should ask at Code ...
2
votes
2answers
94 views

Should complexity formatted as code be updated to use MathJax?

I saw a post that mentions algorithmic complexity and formats such complexity values using inline code spans (e.g. O(n)). Should that post be updated to use MathJax ...
2
votes
1answer
54 views

How should I fix a problem in my code (which is not addressed in existing answers)?

Some time ago I posted a series of two questions: On Knuth's "Algorithm L" to generate permutations in lexicographic order Sequence-based enumeration of permutations in lexicographic ...
11
votes
2answers
162 views

Indentation in answers

I've noticed that on three occasions now (1, 2, 3) people have edited my answers and removed the indentation that I had left in quotes from OP's code and in suggested replacements. One went so far as ...
3
votes
2answers
68 views

The character threshold for editing questions needs redressing

Why is it that any changes to a question must be a minimum of 6 characters? I believe this to be an arbitrary rule that needs to be relooked at, as sometimes, and in the case of a question where I ...
3
votes
0answers
83 views

An 'edit' might have messed up my ability to edit

Someone edited my answer to 'FFT Algorithm', and after that, I am not able to edit the code. Even if I just open it in edit mode, and try saving (without doing any change), it says: code needs 4 ...
3
votes
1answer
31 views

Cannot find/retrieve older version of a question

Ughhh I accidentally made edits and saved unintended changes to a question, and now I can't see the older versions. Basically deleted stuff and now it's gone. Is there any way to retrieve older ...
19
votes
2answers
190 views

Can I edit broken code if I'm sure I'm recreating OP's original code?

I know, I know: "Never edit the code, leave it for the review!". But please, hear me out before answering. What should I do if I encounter a code that doesn't work, but I'm 99.99% sure it's because ...
6
votes
3answers
115 views

Is it okay for OP to edit to include Benchmarking results?

The question is whether it should be allowed for the OP to edit to include timings of answers to a code related to benchmarking. Currently, there is a moderator who doesn't like this for this question....
10
votes
2answers
105 views

Can I edit parts of the code blocks that aren't part of the code itself?

First off, this question is related to several other meta posts, but as far as I can tell none of the questions cover it. First a list of similar questions and why they are different: Is it ...
8
votes
2answers
194 views

Removing leading white space in question code blocks

I've made a couple of suggested edits to this question. The first one was rejected because it deviated from he original intent / it edited code. When I looked at the suggested edit, it did look like ...
7
votes
0answers
66 views

Would it be possible to have the question closer to the answer field?

I find that when answering a question on Code Review, I'm constantly scrolling to the top of the page, copying some code, scrolling to the bottom, pasting it, then editing it. I do this over and over. ...
-1
votes
2answers
130 views

Should Code Review serve as a refactoring cookbook?

NB. It's not an argument against "keeping the original code intact". I understand the point, I agree with the benefits and I realize the issues that may arise should we digress. I'd like to hear the ...
-1
votes
3answers
107 views

Discouraging gigantic headers in answers?

-~- Your Yearly Airing Of The Grievances -~- A lot of answers follow the template of: Avoid X Description of why X is bad Do Y Description of why Y is good and better than what OP ...
4
votes
2answers
38 views

Missing edit-tags rollover

I can't hover over the spot next to the tags for an "edit tags" button anymore: This used to work before the graduation, but now I have to click on edit and I am too lazy for that.
17
votes
3answers
178 views

What are our answer editing guidelines?

On this site, we have a well-known policy on editing code in questions: Don't. After all, that code is up for review, in all its glorious ugliness and buginess. But clearly, such reasoning cannot ...
12
votes
3answers
98 views

Editing in missing #includes

The off-topic list at meta includes: Questions containing broken code or asking for advice about code not yet written are off-topic, as the code is not ready for review. So questions must ...
14
votes
1answer
81 views

Do we want site-specific editing guidance?

With our newly reached "graduated" (I really shouldn't put that in quotes) status, I expect a significant influx of new users, be it through migration or otherwise being drawn in by the thrill of a ...
3
votes
3answers
94 views

Question author updated the code as a diff. Should I have applied the patch?

Project Euler, Challenge #12 in Swift If editing in the edit keeps the question clear, should we edit the edit into the question instead of leaving it as two separate blocks of code? It seemed ...
2
votes
0answers
36 views

Can I edit the code of my question if I haven't received any answers and comments yet? [duplicate]

I asked this question two days ago. The question was well-received with 4 upvotes yet I haven't received any answers and no one has commented it. In the meanwhile, I developed an other entirely ...
9
votes
1answer
36 views

Updating cross-posts, where the author has done so, on a different site

The question I refer to is this one. It has been cross-posted from Stack Overflow, it hasn't received any reviews yet, however, it has been edited on SO, but not on CR. The edits made (indentation ...
5
votes
4answers
101 views

Are minor edits to old meta questions useful?

That's a view from the "active" page on the Code Review meta. The edits are mostly minor. And some of them are coming from quite old questions, even questions with the status-completed tag. Like ...
10
votes
3answers
126 views

Is it okay to modify code in a post if we've discovered a bug, before receiving an answer?

Assuming that I have a posted a question with working code, and I've discovered a bug in it without the help of an answer, is it okay to edit the code in the post with a fix?
11
votes
2answers
67 views

Editing closed/on-hold questions

I'm allergic to a number of things: Bad titles ("please review my code"), tags in title Wrong tags being used Typos and grammar issues Is it ok to edit questions for these reasons? When wouldn't it ...
3
votes
0answers
33 views

Adding someone else's code into the question [duplicate]

Code behind a link is off-topic. Good. Questions trying it anyway get closed. Good. But every once in a while I encounter a question which is quite good and where this is the only problem. Now, I ...
8
votes
2answers
127 views

When is an edit considered enough to be acceptable?

A mod edited one of my questions I've made today (For the curious: Class Object to create objects of type Object, in a dynamic way, with magic methods). The changes are so minimal that I have no idea ...
2
votes
1answer
99 views

Cleaning up the original code in the question

Most of the reviewers/answerers here should be familiar enough with Ctrl+K and Home,Shift+▼,Del keystroke combinations that an edit to provide some readability without losing the original content of ...
8
votes
2answers
123 views

Why SED over sed?

I was browsing edits, and I noticed a change from sed to SED. This came in parallel with a change from awk to AWK. I follow the capitalization of AWK. Not sure that I agree, but AWK is an acronym ...
20
votes
2answers
193 views

Should code be forcibly translated into English?

In Sieve prime generator C++, a user translated some French strings into English, and the edit got approved. In toBase64 encoder, the author replaced Russian strings and comments with English in ...
11
votes
1answer
97 views

Reviewing a question that doesn't belong

There is currently a question on hold, which really should never have been posted to Code Review, but I think it actually highlights a point that would be worth an answer. I started to edit the ...
5
votes
1answer
50 views

Blockquotes and formatting

In many, many, many, many or my recent questions, I've [mis]used blockquotes to separate code files. I always do it like this: Identifier type of code file As in Foo class and IFoo ...
9
votes
1answer
80 views

Non-OP edits to change the original question to make it on-topic

I feel that this topic is ambiguous at the current time, and I would like some clarification. When I see a question that is obviously, or at least appears to be off-topic based on how it is worded, my ...
11
votes
2answers
58 views

Is it okay to convert a question code block into a working snippet?

We tend to leave the source code alone as all aspects are valid for code review. But, questions like these are just asking to be converted to a snippet ( there's a link to JsFiddle even!) Just wanted ...
14
votes
2answers
117 views

Over-editing my own answer

It looks that I have just over-edited my own (first!) answer and got a comment: Please try to keep the edits down to a minimal now. Thanks! I was wondering what has just happened, searched a bit ...
7
votes
1answer
54 views

Ability to edit self-deleted questions

I understand that preventing edits on deleted answers can help defeat FGITW (Fastest Gun In The West) problems on other sites (or here?), but it seems deleted questions cannot be edited either. This ...
7
votes
2answers
99 views

Is this edit okay?

A struct within a class, and this is the edit history: https://codereview.stackexchange.com/posts/60534/revisions The original code include this method: ...
9
votes
3answers
146 views

Does the plain-English part of a question even matter?

Does the plain-English part of a question even matter? I'm not recommending that the plain-English part doesn't help make questions better, but given the approach we've taken towards answers on ...
8
votes
1answer
79 views

Questions containing false statements: Edit or Answer?

https://codereview.stackexchange.com/review/suggested-edits/24111 The asker posts a false statement: "This code runs in time complexity X." Should they be corrected in an answer or in an edit? ... or ...
0
votes
1answer
48 views

Edit a question to add comments to the code?

In this question, an edit to the code (by other than the asker) added this block of comments to the code: ...
7
votes
1answer
123 views

Good question, but OP didn't know how to ask it?

In Calculating Julian dates, the author asks a question that doesn't make sense: Refactor this code so that I don't have to insert the parameters any time I need to use one of the functions. [....
3
votes
1answer
40 views

VB comments taking up more than one line unless comment is terminated

In this question, there are comments in the code, other code that was tried before, and the comment showed over multiple lines unless the comment was terminated with another apostrophe, which isn't ...