16

It's very unfortunate that you have not received a notification when the post notice. We (mods) were under the impression that users receive a notification when we do this, but it seems that's not always the case. We'll work with the community managers on that. It's also very unfortunate that you have not received a notification about the deletion of the ...


13

Yes The answer doesn't have much information, but the information that is there seems like it provides some useful advice. It could probably use a little editing after being un-deleted. (if that's what happens.) No Look at the above answer. This answer is a copy-paste from that.


9

Bringing it to meta is the right thing to do, at least to get visibility, so that's a good start.... ... having said that, a user is able to delete their posts as long as there are no upvoted answers on their posts, so, since your answer did not (yet) have an upvote, it was OK to delete it as far as the technical limitations of Stack Exchange. Given that, ...


9

Being good and being acceptable are two different things. Is/Was it a good answer? Definitely not, especially not according to Code Review standards. Is/Was it an acceptable answer? Obviously, considering it was accepted by the OP. Should the answer have been accepted? Not in my opinion, but accepting an answer is really not up to me, or up to anyone else ...


9

Do I like code only answers? No. I don't. Do I think in general they should be removed? Yes. I do. However, I'm a bit uncomfortable with this situation because it was the accepted answer. It provided value to the OP of the question. I don't believe this answer should have been deleted. Why? Well... mostly because there is a precedent for not deleting ...


8

Once the answer was posted here, it wasn't really OP's to withhold from the world anymore. It belongs to the community and Stack Exchange as well as OP, per the CC-By-SA license. This bit right here...while it may be officially the case, for whatever reason (I doubt it has to do with why you ask this question), it's not something I would go out of my ...


7

Moderators delete answers for a variety of reasons. Here on Code Review, there is even at least one more reason than on most other Stack Exchange sites. One of the reasons specific to Code Review is the "Independent and unjustified solution". Answers that provide a completely independent solution and don't justify why the solution is better are not a review....


7

You were already given a post notice, which was also to provide an explanation on the issue with the answer: We are looking for answers that provide insightful observations about the code in the question. Answers that consist of independent solutions with no justification do not constitute a code review, and may be removed. Most of your answers are very ...


7

The answer in question showed up in the low quality queue, and is not a good answer in general for Code Review. We expect code to go along with explanations and answers to not just be a code dump. I don't know why your answer was deleted (or by whom). Answers are not regularly deleted on this site unless it becomes an issue of moderation and authors are ...


7

I have undeleted the answer. There is no clear "best solution" that I can see happening/emerging from this discussion. Even the high-voted/accepted answer to this meta question is somewhat contradictory (emphasis mine): Do I like code only answers? No. I don't. Do I think in general they should be removed? Yes. I do. All in all though, I prefer to defer to ...


4

I have requested that an answer be undeleted, but that was because I was the Question Asker and I thought that the answer had really useful information in it that I wanted to use in my code, and I thought that it deserved up voting and the like. It is really a case by case thing, depending on the circumstances of the deletion and the quality of the post, ...


4

I'm all for pruning code-only answers from CodeReview. I've seen this horror escalate on StackOverflow and I think it's a much bigger problem for CR. CR exists on reviews. In my opinion, a good review can have many helpful advice and no code at all. However, it can't have just code and no explanation of why something is wrong and why it should be improved. ...


3

Sami posted an answer around 6 hours ago. However the answer was subsequently deleted. Deleting answers doesn't remove the question from being bumped to the front page. When you get 10k you'll be able to see deleted answers.


3

Why was it deleted? Only the deleter can correctly answer that question. It is possible it was for the disciplined badge, as the user got the badge two minutes after deleting the post. But it's also reasonable to think the user deleted an answer where part of the answer is out of date or wrong. But how does speculating about the deleter's action improve ...


3

Quoting the notice directly: Answers that don't include explanations may be removed. This notice was added by Jamal at May 16 at 14:58 (according to the post history). Jamal mentions in his answer here, that he commented, so that OP can improve their answer. When nothing happened, the answer was deleted 30 hours later. IMO the poster had enough time to ...


3

Prior to deleting the code-only answer, I did also leave this comment: Please provide an explanation on this code as well. We don't accept code-only answers. Had the answerer read that and tried to improve the answer, I would've gladly undeleted it and removed the post notice. However, I'm not sure if the answerer checked the deleted answer in time, ...


Only top voted, non community-wiki answers of a minimum length are eligible