2
\$\begingroup\$

Today, I saw a question that asked to review the OP's code. On reading the answers, I found that they repeat or just explain the things seen in the code and say:

You can use xxx instead of yyy

when the OP's code clearly uses xxx. On closer inspection, I found out that the OP had modified the code taking the suggestions given into consideration.

Is this acceptable?

\$\endgroup\$
6
\$\begingroup\$

Modifying the question to incorporate suggestions from answers is called . Doing that on any Stack Exchange site is considered to be an abuse of editing privileges.

In addition, Code Review also forbids appending improved versions of the code to the question, to prevent confusion about what is being asked.

Our standard response to these incidents is to roll back to a previous version and inform the original poster that such edits are forbidden. I have done that on this question. Thank you for raising the issue.

\$\endgroup\$
  • \$\begingroup\$ Ok. Thanks. But I can't seem to find the rollback button. Does it appear once I have sufficient rep? \$\endgroup\$ – Spikatrix Jun 20 '15 at 11:22
  • \$\begingroup\$ Click on "edited n hours ago" to view the history. When you have earned editing privileges, you will see the option to rollback to any previous version. \$\endgroup\$ – 200_success Jun 20 '15 at 11:29

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