This is related to Should we discourage people that delete their question after they receive an answer?, and to the AskUbuntu Meta question Please stop posting half answers and dumb advice as comments. It's a combination of the two.

This evening I've had two instances of questions being deleted, literally from beneath my fingertips, as I was typing my answers. The reason? An answer was given as a comment, and the user withdrew the question immediately upon seeing it. It was a pity that this happened, not just because I had spent some time writing an answer, but since in one of the cases, the user left with a piece of code that was still wrong in more ways than what the question and comment-answer addressed.

Could we (me included) stop giving actual answers in comments, please?

  • It is infuriatingly annoying to have the "this question has been deleted" thing pop up when you've spent 10 minutes typing away trying to explain what's wrong, what they should be doing, and why, just because someone casually says "do this: ..." in a comment.

  • Comments are for comments. Answers are for answers.

    • If you have the answer, type it up.
    • If you don't have the time to do that, then you don't have the answer.
  • If you are dying to leave a witty comment about an issue in the code that may resolve the question in a wonderful puff of smoke, then write it up as an answer, or hold that thought and come back later when the question no longer can be deleted (>1 answers, or an answer with an upvote, or one accepted answer).

  • Answers are peer reviewed, edited, upvoted and downvoted, referred to by other answers, and read by many people. The same goes for questions. Comments, not so much. This means that good answers generally provide more context to the issue in the question as well as a higher quality (in terms of both exposition and of correctness) than what comments do. This is what this site is about: providing good answers to questions related to Unix and Linux, so that the person asking, and others, may benefit and learn something.

I know that writing an answer instead of a comments is no cure for users deleting their questions (unless the answer is good enough to get an immediate upvote), but it would make it more probable that the question may get enough undeletion votes to be resurrected. AFAIK, there is no undeletion review queue, but the more "reputable" people frequenting the chat could possibly help out with this, and a moderator would probably be able to track down the deleted question, especially if you wrote an answer to it that you think was worth rescuing.

Sorry, no real question here other than "could we write real answers instead of comments, please?"

  • 1
    – phemmer
    Commented Oct 15, 2017 at 16:30
  • 1
    Why would they delete their question if it was answered in a comment? Does getting an answer to a posted question somehow result in some negative points being added to your account? It doesn't make sense. Oops... was about to add on a paragraph that might be an answer...*whew*, glad I caught that....‹sorry no time to p ost an answer now› (...not!?)...
    – Astara
    Commented Jun 29, 2019 at 17:29

8 Answers 8


If you don't have the time to do that, then you don't have the answer.

Correct. So leaving a comment may be an acceptable approach.

I mention this because I have been chastised for leaving an "answer" as a comment. There are a couple of reasons why I do this:

  1. There isn't sufficient detail in the question for me to be sure that my answer will, in fact, address their issue. The comment can both elicit more information and, if my assumption proves correct, prove the basis for a more detailed response as an answer.

  2. The question is part of an obvious pattern (pretty much anything in , for example). Dropping the answer as a comment is unlikely to dissuade the avalanche of answers that will likely follow, and if the question is deleted it is similarly unlikely that the site loses anything of value.

I also fundamentally disagree with the premise, that the people answering--even if in the comments--are the problem, or even part of it. What you are objecting to is people who selfishly abuse the goodwill of the community with no intention of reciprocating by contributing back to the commons.

Those of us who are contributing should be free to do that, whether it be commenting, editing, reviewing or whatever.

  • 3
    Is there a penalty for people deleting their questions? I generally encourage people who ask if they should delete their question, to leave their questions up ("there is no stupid question..."), but nothing can be done if the question just disappears. I'm not sure how to discourage question deletions (and there are some questions that should be deleted, but few enough to be left to moderators perhaps): perhaps some sort of graduated penalty?
    – NickD
    Commented Oct 9, 2017 at 19:19
  • 1
    @Nick Users who keep to delete their question, especially when questions have a negative score, will be blocked from asking further questions.
    – apaderno
    Commented Oct 15, 2017 at 18:15
  • Yes, a comment that seems an answer is sometime a way to get more information back from the OP, and try to understand what the OP means. Users who comment to get information back from the OP should not be punished
    – apaderno
    Commented Oct 15, 2017 at 18:18
  • 3
    Answers in comments (a) don't get the question off the unanswered questions list; (b) discourage anyone else from writing an answer; (c) aren't effectively voted on, since they can't be downvoted. At least when I see someone has already answered in a comment, I don't post a fleshed out version of it as an answer like I would have otherwise (instead I normally comment to ask the person who left the comment to please convert his/her comment in to an answer).
    – derobert
    Commented Oct 17, 2017 at 17:08
  • 3
    @derobert b) is demonstrably false. Look through the number of questions where an answer is first posted as a comment. c) is irrelevant, and a) perturbs me not at all.
    – jasonwryan
    Commented Oct 17, 2017 at 17:15
  • I think I only did this once, but I'm sure I'd do it again: I once asked a question that was furiously downvoted and only got bad comments - I just didn't want that as part of my history, so I deleted it. I don't think that deleting questions that are downvoted several times is a bad thing; it kinda cleans up the site :p. It should not be punished.
    – Carlo Wood
    Commented May 24, 2019 at 22:27
  • The fact that you call irrelevant the inability of rating "answer" usefulness is perturbing.
    – Braiam
    Commented Jul 7, 2019 at 2:23

Resisting the temptation to answer this in a comment... But yes, please, let’s write answers instead of comments (of course the users most likely to answer questions in comments are unlikely to read this).

This is probably included in the “peer reviewed” part of your question, I think it’s worth expanding on: comments are not peer reviewed, and I see lots of wildly incorrect comments which end up getting upvoted somehow with no easy way to react (a response in a long list of comments is pretty much invisible, especially in reaction to an upvoted comment). A good rule of thumb for comments relates to the reasons they can be flagged for deletion (offensive, obsolete, or in need of moderator attention; this doesn’t explicitly include “utterly bonkers”): basically, only write a comment if there’s a clear path to its removal, i.e., you’re asking for or providing further information which will result in an edit to the question or answer, and the removal of the comment (either by its author, or by a moderator after someone flags it as obsolete). Note that this also applies to “further information”-style comments; I tend to comment as a suggestion of extra information the author might want to include, in cases where I don’t feel comfortable just editing the question or answer. (See this answer for a recent example. I think the information is relevant and useful, it’s just not obvious to me how to include it verbatim in the answer without making the answer harder to read.)

As pointed out by Eliah Kagan in the chatroom, this is all just a re-hash of the help page explaining comments.

I also think in general we should all get used to editing questions and answers more, if necessary explaining the “why” in the change description; I certainly found it enlightening the first few times Gilles and Stéphane edited one of my answers for me, instead of either commenting on it or adding their own answer. The whole point is to get the right answer to affected users (plural, not just the OP), in the safest way possible, and the most “educating” way possible (without drowning the reader in detail); reputation points and badges don’t matter in the grand scheme of things. (That’s much easier for high-rep users to say obviously, but if you’re active enough on the site to be editing questions, reading Meta and generally thinking of janitorial duties, reputation will follow.)

Finally, it would also be great if we could review our questions, answers and comments every once in a while, and merge any relevant comments, flag them as obsolete, and delete our own obsolete comments. If you’re afraid deleting your own comment will make the surrounding ones harder to review, don’t be, flag the surrounding comments: moderators can see deleted comments, and they’ll take the whole context into account when reviewing flags (most of the time).

  • Comments to result in an edit are a nice subset. Comments indicating posts wildly incorrect or bad practices (maybe upvoted and/or accepted that cannot be edited and saved), are also important, similar to any fair use of downvotes. But I believe most (skilled) people don't care to make these comments, and they are right, they get nothing for this, they even get penalty for a fair downvote.
    – thanasisp
    Commented Nov 22, 2020 at 10:23
  • Bear in mind that I’m assuming that “reputation points and badges don’t matter in the grand scheme of things”. I don’t care that comments don’t gain me anything, nor do I care that downvotes cost me (and I often get the rep from downvotes back anyway, either because the downvoted answer is deleted, or edited such that I undownvote it, or because I hit the rep cap). Comments indicating that posts are wildly incorrect or bad practices still have a (theoretical) path to deletion, either when the post is deleted or fixed. Commented Nov 22, 2020 at 12:23

I would add this a comment but....

I have a general rule:

If a question is worth typing up an answer, then it is likely worth an up vote.

So I will often up vote a question before I provide an answer. Don't know that it will slow down deletions, but it can not hurt.

  • 1
    I know for a fact you can delete your own upvoted answer. I'm pretty sure that you can delete your own upvoted question as well, provided that no one has supplied an upvoted answer. (If you want to be certain about this, search on meta.stackexchange.com.)
    – Wildcard
    Commented Oct 7, 2017 at 5:14
  • 6
    @Wildcard, yes but I assume the OP is less likely to delete a positive scoring question. So, if I am going to upvote the question, I start there. Commented Oct 7, 2017 at 5:32
  • +1. This also addresses one problem I have with the OP suggestion: posting the same content as answer rather than comment will not do anything to discourage the deletion of the question by its author.
    – Nemo
    Commented Feb 14, 2018 at 19:46

IMO, the comments are a valuable part of the ecosystem and of helping users.

Making comments is a part of the game and the interactive process of interacting with the OP and community at large to define and refine the process of writing a proper answer.

The comments also allow for people without time or when mobile at that particular moment to add their opinion or point others in the direction of the answer, and/or as an anchor to come back to a particular question later on.

Proper answers also take a significant investment in time to write, and comments are a way to weed out some of the questions that for varied reasons might not warrant that kind of attention, while still pointing the OP in some direction.

  • 3
    I sometimes answer or hint in a comment instead of posting an answer on beginner questions where there's so much confusion that it's unlikely to have any future value. I'd rather the OP delete their question than have it clutter up people's search results. Commented Oct 8, 2017 at 21:31
  • I always read all comments of a question that I'm interested in, also all comments of answers that seem valuable.
    – Carlo Wood
    Commented May 24, 2019 at 22:30

Overall agreed. However, here is a case where it is appropriate:

When the "answer" is to point out the typo in the code in the question that is causing it not to work.

This should be accompanied by a flag "off topic for describing a problem that cannot be reproduced, or which went away when a typo was fixed."

I did this just now:

  • 2
    I noticed. I wrote an answer to the same question describing what was wrong, how to write it in an idiomatic awk way and also mentioned why the { print $0 } could be left out. Is a misunderstanding of how the test for equality works in awk a "typo"?
    – Kusalananda Mod
    Commented Oct 8, 2017 at 8:21
  • 3
    @Kusalananda: This kind of answers not only solving the problem, but teaching the OP a better use of tools is highly valuable for the OP! It could also be to some others, but they won't get attracted to it by the original question. So see it this way: You are investing your time almost only for the OP; if he is deleting his question before you can post, he didn't deserve your good answer anyhow.
    – Philippos
    Commented Oct 9, 2017 at 12:22

On other, larger, more antagonistic sites, they are doing this, because downvoted questions can't be deleted even by their owners.

It is an evil thing in the StackExchange, they are fighting this evil by deleting their questions while they can. If the question has an upvoted answer, or multiple answers, it can't be deleted even by its owner any more.

An alternate solution for the problem is using a secondary account only for questions.

However, the Unix SE is a friendly site and I can't see the reason, why would it be needed here.

  • "Other, more antagonistic sites"? Other SE sites? That's discouraging that such attitudes and behaviors aren't evicted from the SE network. I.e. How inviting would you feel if your question was "pinned" (made undeletable) to use as an insult and belittling platform. I'd have to wonder if that was common to all SE sites.
    – Astara
    Commented Jun 29, 2019 at 17:39

Why not have the ability for the comment to be marked as an answer if it answers the original question? It could be promoted to being an "Answer" for purposes of further comments/voting, but still marked as being an Answer coming from a promoted comment. Of course, at that point, I wouldn't see any reason to prevent the original commenter from editing or updating the answer if they so chose.

Forcing a commenter to repost their comment into the acceptable form somewhat reminds me of Jeopardy: Please repost your comment in the form for an Answer"

  • Comments can not be edited (corrected), nor be downvoted. If comments were able to be accepted as answers, they would be answers that effectively bypass peer review.
    – Kusalananda Mod
    Commented Jun 29, 2019 at 17:37
  • FWIW, I regard the inabilty to edit a comment as being a flaw in the site that simply forces me to delete the comment and repost the edited version. More than once I've tried to continue a comment that I've accidently hit Enter on, only to be told I was past the deadline for editing -- when in my mind, I hadn't even finished the comment, but had it "autofinished" due to some random event that posted it for me. ☹
    – Astara
    Commented Jun 29, 2019 at 17:57
  • Then maybe you are using the comments for the wrong things? They should mainly be used to request clarification.
    – Kusalananda Mod
    Commented Jun 29, 2019 at 18:01
  • So if I'm overly precise or too descriptive in asking for a clarification, then it is not a clarification? How should I post such?
    – Astara
    Commented Jun 29, 2019 at 18:06
  • If it's an answer that is making a number of assumptions, for example, then it should be posted as an answer.
    – Kusalananda Mod
    Commented Jun 29, 2019 at 19:51
  • 2
    I've been told if it isn't a complete answer, then it shouldn't be posted. A conditional answer, apparently is only a partial answer, thus not a real answer. :-( I don't know if I believe that, but I can always find someone to criticize anything I do. Can't believe how wonderful that is.
    – Astara
    Commented Jul 1, 2019 at 9:59

Who cares.. Be positive... Educate others, if they want to hide let them be a bad mind.

You must log in to answer this question.

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