Is a one line "mini answer", which actually does answer a question to be considered faulty? Should it always be posted as a comment, in order not to be closed?
-
18If it actually answers the question, I don't see why it should be a comment. Do you have an example of where an answer has been incorrectly converted to a comment?– user247702Commented Jul 28, 2014 at 7:07
-
45Ironically, a short answer here would be completely justified given how this question is itself so short.– BoltClock ModCommented Jul 28, 2014 at 7:08
-
6Well, funnily, this question might be answered using a single word: NO. But SO requires a minimum length in answers... ;)– PhantômaxxCommented Jul 28, 2014 at 7:15
-
6One line is fine.– JPKCommented Jul 28, 2014 at 11:52
-
10Why would you answer a question in a comment anyway? An answer is an answer and a comment is a comment. Which is which shouldn't be determined by length at all.– GolezTrolCommented Jul 28, 2014 at 12:35
-
2I have the strange feeling that a one line answer would immediately be flagged as a Low Quality post.– PhantômaxxCommented Jul 28, 2014 at 12:37
-
5If it is a one line answer that is not very good or not very complete, then that might very well happen. A one line answer is not always good. Or even: a one line answer is rarely good.– GolezTrolCommented Jul 28, 2014 at 12:58
-
1I think it all depends on how much communicative you are.– PhantômaxxCommented Jul 28, 2014 at 13:10
-
2There might be a question mark on the quality of the question, though.– devnullCommented Jul 28, 2014 at 13:20
-
3Good example of one-liner. People seem to dig it. At least 794 people did ;-)– Paul SamsothaCommented Jul 29, 2014 at 7:16
-
1"Why would you answer a question in a comment anyway?" Sometimes I don't have enough time for more than a few words. I might point the way in a comment, and leave it to lower-rep users (who are always asking on meta how to gain rep) to write up a more complete answer. I'm sure I've given a few one-line answers as answers, too. I usually have a reason. I don't recall the reasons.– Mike Sherrill 'Cat Recall'Commented Jul 29, 2014 at 15:39
-
1@peeskillet, I dig it too.– 700 SoftwareCommented Jul 29, 2014 at 15:59
-
2Another example of a 1 liner stackoverflow.com/questions/24787321/… at the bottom. Downvoted. IMO it answered it adequately but no one liked it still.– DasBeastoCommented Jul 29, 2014 at 20:15
-
6Terseness should be appreciated.– Lance RobertsCommented Jul 29, 2014 at 20:54
-
2Every reasonable answer to a perl question should be limited to a single line. If not, you just didn't care enough making it shorter.– Jens EratCommented Jul 31, 2014 at 21:18
4 Answers
An answer is an answer. Even if one line is enough.
-
18
-
165
-
2A sentence is sufficient.– user688334Commented Jul 29, 2014 at 22:27
-
but what is we explain that answer for further help like giving examples Commented Feb 26, 2019 at 11:56
No.
-
8Fantastic! But in comments I still have to enter at least 15 chars... are we allowed to give a single word answer? weird! Commented Jul 28, 2014 at 14:12
-
22
-
9
-
@TheGuywithTheHat I can't enter a comment shorter than 15 chars. Funny. Commented Jul 28, 2014 at 14:17
-
-
87
-
1So, where are the cops taking you? ;) Though I like
...
better myself. Commented Jul 28, 2014 at 14:19 -
2@FrédéricHamidi Virtual jail, for making useless virtual answers. (I honestly was expecting this answer to get a negative score.) Commented Jul 28, 2014 at 14:20
-
1
-
2
-
-
1
-
@0x499602D2 Hint: meta.stackoverflow.com/questions/266954/one-line-answers/… Commented Jul 28, 2014 at 21:35
-
1You should really fit two No`s in your answer to fully answer the question(s) in one line.– user2140173Commented Jul 29, 2014 at 9:40
-
4
While it may happen that a legitimate question can be answered in one line, most of the time this indicates a simple typographical error in the OP's code.
If your possible answer is something more than:
- you have unbalanced brackets/apostrophes
- you forgot about semicolon
- etc.
feel free to post your answer.
Otherwise vote to close the question, as evidenced by a default close reason on SO:
"This question was caused by a problem that can no longer be reproduced or a simple typographical error. While similar questions may be on-topic here, this one was resolved in a manner unlikely to help future readers. This can often be avoided by identifying and closely inspecting the shortest program necessary to reproduce the problem before posting."
-
What if my answer is one of the above mentioned (which are mostly the ones I'd give), i.e.: "You forgot a semicolon"? Commented Jul 28, 2014 at 14:55
-
4You should vote to close the question with the reason "This question was caused by a problem that can no longer be reproduced or a simple typographical error. While similar questions may be on-topic here, this one was resolved in a manner unlikely to help future readers. This can often be avoided by identifying and closely inspecting the shortest program necessary to reproduce the problem before posting." This is one of the default close reasons on SO. Commented Jul 28, 2014 at 15:02
-
3... why? If with a single sentence I could save the user's workday and gain his/her infinite gratitude (...) for the eternity? Commented Jul 28, 2014 at 15:04
-
6Have you read about what is on-topic and what is off-topic on SO? Apparently not. This kind of problem is clearly described by parser's error message. No need for help from other people. So, OP doesn't show any effort to solve the problem. The question is extremely unlikely to help other users. Such questions are off-topic on SO. This is not a Fix my code site. We are trying to collect and share knowledge here. About gathering OP's infinite gratitude = reputation by giving a trivial solution for a trivial problem. There is a term for this here (not invented by me): rep-whore Commented Jul 28, 2014 at 15:14
-
-
@FrankN.Stein You won't be alone in joining a fleet of those who prefer to answer that a semicolon is missing. It's ok. Some might call you a repwhore, though. Moreover, think about it -- it'd really add to a lot of knowledge if there were a dozen questions about errors in a 4 liner hello world C program with such errors. What an effort to improve human understanding at large!– devnullCommented Jul 28, 2014 at 15:39
-
7@FrankN.Stein Just comment and then vote to close: don't mine rep from a simple answer. Simple fixes like that are usually better placed in comments, anyway.– AstroCBCommented Jul 28, 2014 at 20:34
-
2
-
1@FrankN.Stein No, you shouldn't close the question until you've let the world and the OP know that it is a typo problem. You're the one who found the problem, so you deserve the rep. Commented Jul 29, 2014 at 20:51
-
1@ElmoVanKielmo, many languages and environments (like VBA) don't give comprehensive messages. Gaining rep for helping people is what this site is about. Commented Jul 29, 2014 at 20:53
-
@LanceRoberts This is nonsense. First: Language never gives error messages on it's own. Second: Every modern editor hunts for syntax errors on the fly. (I hope someone is going to develop a good editor for EMACS :D :D :D) Even famous
if(x=0)
is marked as possible typo. Commented Jul 30, 2014 at 5:22 -
1@ElmoVanKielmo, There are more things in heaven and earth, Than are dreamt of in your philosophy. I hope you never have to work with VBA, it will be a traumatic experience for you. Commented Jul 30, 2014 at 6:17
-
@LanceRoberts No! Full stop! A programming language grammar is a set of well defined rules describing what can be parsed and translated to a sequence of instructions understandable and executable for a machine (physical, virtual, runtime environment - doesn't matter). Can't find a tool which hunts for syntax errors and typos in VBA? Create one (maybe in some more developer-friendly technology) if these kinds of errors make programming in VBA a traumatic experience for you. Most of your tasks are more challenging than writing parser/lexer/compiler... Commented Jul 30, 2014 at 10:30
-
@ElmoVanKielmo, I'm happy for you that you have the time to create the tools you need. I've been programming for over 30 years (since Apple II+s) and I've seen plenty of bad environments. Hopefully you will always have good environments or the time to make them. Good Luck. Commented Jul 30, 2014 at 13:41
An answer should never be posted as a comment.
-
36
-
There are many good reasons to post an answer as a comment. Commented Mar 3, 2018 at 14:57