Possible Duplicate:
Editing versus Answering?

I was contemplating about this question. The answer is mostly correct, but it misses some cases and I am not 100% sure if the author missed them on purpose.

I've edited the code to handle the additional cases but wasn't sure if to suggest an edit or to submit as a new answer with reference to original author. The new code is about 25% longer than the original answer.

What should I have done? Suggested an edit or resubmitted answer?

P.S Not too late to change.

P.S.S: Just realized it might be a duplicate :(

marked as duplicate by Michael Mrozek, Ladybug Killer, Hendrik Vogt, genesis, Josh Caswell Sep 27 '11 at 18:31

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • Commenting as this is a dupe, but you should add a new answer if you improve it. – user7116 Sep 27 '11 at 17:39
  • Eh, I'd edit the original answer and leave them a comment to review. If they don't have enough rep, they can reply in a comment, or if they do they can edit/revert if they aren't happy. – Won't Sep 27 '11 at 18:12

Browse other questions tagged .