-7

Is it better to answer the question or add the answer in a comment, for example I added this comment and then someone answered the same thing, should I've answered it?

While here I've answered the question would it be better if it was in a comment?

Is it worth to rather answer for the reputation?

3
  • 5
    Answers for answers, comments for clarity and detail requests.
    – Warcupine
    Commented Nov 15, 2021 at 19:11
  • 2
    Your comment is better than the answer, but generally answers should be answers.
    – Kevin B
    Commented Nov 15, 2021 at 19:12
  • 6
    I find it amazing that this is the first time anybody has ever asked this SQL question in the history of Stack Overflow. Has there never been anybody else who needed to order their results?
    – VLAZ
    Commented Nov 15, 2021 at 19:20

2 Answers 2

14

If you want to answer, then answer the @!%$ question.

Don't comment when you mean to answer.

5
  • I hate this when people comment an answer, especially when they've done so while I'm writing basically the same thing as an answer.
    – codewario
    Commented Nov 15, 2021 at 21:42
  • 3
    @BendertheGreatest, even here on Meta I noticed that my tendency was to write a comment instead of an answer. So instead of shouting the example, I decided to become the example.
    – Makoto
    Commented Nov 15, 2021 at 21:48
  • I can't answer this @!%$ question because it's closed :P. Commented Nov 16, 2021 at 2:55
  • 2
    But not if it is the 1000th duplicate? Commented Nov 16, 2021 at 3:19
  • 2
    @PeterMortensen Imagine a world where you would have to repeat the same common sense things over and over again. Oh wait... that is the world we live in.
    – Gimby
    Commented Nov 16, 2021 at 9:07
6

Let me address this quote from your question:

Is it worth to rather answer for the reputation?

No. Stack Overflow aims to build a high quality collection of narrow scoped questions and the answers to those questions. If you post content on Stack Overflow you do so with the intention to improve and extent that high quality collection of Q and A's.

There is no reputation in that equation. Never, ever do something on SO for the reputation. Other sites outside of the SE network happily cater for that.

4
  • Absolutely I didn't mean to ask if I should answer always just for reputation but when it's a basic answer like the order by if I should add it in the comment in a clarification way like I did, the question is if this is the right practice? Or maybe because it's an answer and probably the answer, if it's the right way to do to add the reputation in the picture? And I see you answer for this question, NO.
    – Shmiel
    Commented Nov 15, 2021 at 20:41
  • 1
    @Shmiel If it's "a basic answer like the order by" then chances are that it's already been answered. Probably more than once. SO has been active for over a decade - basic questions about long-standing technologies have largely been covered. Feel free to flag as a duplicate. Do not just dilute the knowledge further by scattering it more. Enough of this and in another decade we won't even have a repository of high quality questions an answers. Just a bunch of oft-repeated questions and answers with varying quality.
    – VLAZ
    Commented Nov 15, 2021 at 23:37
  • How can I search if that type of question is a duplicate in my 2 examples? What text for example should I search in the search bar?
    – Shmiel
    Commented Nov 16, 2021 at 14:05
  • @Shmiel "sql order by site:stackoverflow.com" from a search engine is a good start. On SO you start with "[sql] order by" and work from there. I did it and it turns out there is a tag [sql-order-by] tag which can also help narrow down results. For the second one I'd start with "table name in quotes sq; site:stackoverflow.com" and see if anything relevant pops up.
    – VLAZ
    Commented Nov 16, 2021 at 15:19

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