Suppose billybob posts an answer to a question, and it's 90% the way there in terms of forming a good complete answer but the he leaves some trailing caveat like "This won't work in scenario Y, so add something to cater for that" but suppose the OP lacks the coding ability to implement billybob's final suggestion.
Suppose also that [I] come along in the comments and say "billybob, you could add some code that uses function call X, to deal with the scenario Y you mentioned" and billybob says "yes, I totally agree, but I'm not very good at this particular flavour of the language, and I don't really know how to implement your suggestion even if I wanted to"
Supposing there is too much code to reasonably post a litany of comments telling billybob what to change in his answer and where (and running the risk that he doesn't really know what he's doing so he makes errors doing it), is it acceptable to edit his answer to include the code he agrees should be there, but doesn't know how to write himself?
Or is it better to just post another answer, acknowledge billybob's limited solution and say here's an improved version that caters for scenario Y, and upvote billybob's answer to give him some credit for the inspiration?
I get the feeling it's the latter, because if billybob isn't good enough to write the code himself, he's maybe not good enough to verify that I haven't just trashed his post, but perhaps there's a grey area where he can verify something even if he can't write it himself..
simplifying
andtidying up
"