Let's say someone asked a questions. I answered it with a good answer, got some upvotes, and now my answer is the most voted answer there.
All of a sudden, a smarter user post a better answer. My answer isn't wrong, it's just that his answer is better. I upvote his answer right away and here comes the dilema:
I don't really want to delete my answer because it still is a valid and good answer. But his answer is better and it might be too late for him to get enough upvotes to get to the top (note that OP hasn't accepted any answer yet).
Is it okay if I add an edit section within my answer to include the other answer in my answer (obviously giving the user his credit)? Is this a good thing to do or should I just stay passive and see if other users vote on his question?