Recently I came across this question where the user posted an answer and then, upon clarification from OP, revised his answer and code. The user then kept the old code in the answer but put the <strike>
html tag to strike-through the old code.
Is this a good practice or should old code be removed when replacing it with updated code?