This question is good (7 votes) and very old (3 years old), and has just been recently answered by Jay, a user with 1 reputation. Their answer was of a low quality... or should I say answers?
Jay answered twice, with this and this, both with the similar code, the first with some explanation text (which was badly formatted and didn't really make sense).
It seems as if Jay wanted to edit their answer, but instead created a new answer. His explanation for this was:
I needed to provide the complete function as a solution and not incomplete answers. Trying to make life easier
So my question is this: how do we deal with this?