I have had occurrences of junior developers who would get very defensive about their code as if it were their child. If someone's criticizing your code (politely), thank them for their advice. Then, either look into it or ask them for more details. At the end, either you or them will be right (or both!) - with valid arguments instead of tension.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Be objective about your code.
I have had occurrences of junior developers who would get very defensive about their code as if it were their child. If someone's criticizing your code (politely), thank them for their advice. Then, either look into it or ask them for more details. At the end, either you or them will be right (or both!) - with valid arguments instead of tension.