I have the habit of posting quick code-only answers to "simple" questions, and then add details / context later... for example on a question that I stumble upon in a review queue, that can be solved in 2-4 lines of "basic" code.
Usually I elaborate it within minutes, but obviously sometimes I get interrupted, and it takes a bit longer.
In my mind this makes sense because:
- The OP can get on with his life immediately if he is satisfied with the solution.
- Someone else might not waste time writing up the same answer while I fiddle around with my English grammar.
However, (at least) twice now I've received negative(ish) comments about the code-only nature of my answer before I got around to adding context.
This got me thinking that my answers are probably popping up in some review queue, so while I may be sparing one person from writing a duplicate answer, I'm wasting someone else's time on reviewing my answer, and possibly writing a comment.
I also tend to make lots of edits to longer posts because I feel like some sentence can be tweaked ever so slightly to clarify something, or I change my mind about the naming of variables (or whatever)... I feel this should be perfectly fine if it improves the answer overall, but I'm actually not sure because for instance votes that are already cast are not actually intended for the new revision (ie. in my opinion it's an improvement, but someone else may disagree).
Questions:
Is it bad practice to post something that you know is not going to be your final answer, such as a code-only answer - even though it will (probably) solve the OP's problem on it's own?
Is it bad practice to perform several edits in general? I'm looking for some "official" guidelines or recommendations for editing (your own) answers.
Do all code-only answers pop up in a review queue, and if so should I continue doing what I'm doing now, but add some very short text before my initial answer just to prevent that?
Conclusions
I have posted the conclusions I drew from the discussion this question sparked in an answer below