This question is inspired by the proposed edit of this linked answer at the moment of writing.
The edit changes default(T);
to default;
, which is valid C# 7.1. Plus, the proposed edit adds a summary at the end.
While this arguably improves the question, I wonder if there is something lost in updating the syntax (for example, the answer would require a more modern compiler). Besides, I do not think we should go about doing such edits in bulk or encourage them (there could potentially be a lot of edits of that kind).
My question, is as the title says: Is it advisable to edit a third party answer to use new language features?
<version here>
to ensure that, as you said, nothing gets lost (while also keeping the prior version of the code in the answer). I've seen people often post a new answer in this situation instead too.