I have gone through this question: Can we add a reputation penalty to comments that are removed for being Rude or Abusive?
My concern is if a comment is removed for being rude or abusive, there should some penalty for people so they won't violate this being nice policy.
Here the scenario is: This user just copied the whole code from the first answer and just changed a few lines of those which will cause a NullPointerException
to the OP. This will misguide OP and waste his time. When I tried to ask him for the same he became rude and edited his answer as he knew he was wrong. He should be thankful for pointing out his major issue of code. What he did was rude.
I pointed out that he was not giving the right information. But now I feel it's better to keep quiet and stay away from a user like this.
From the image we can see that I was pointing in the right direction. My intention is give the right information to the OP.