I started writing software in 1984. Over the years I worked with many languages, technologies, and tools. I have been in leadership positions since the early 2000s, and in executive roles since 2014.
That does happen, but the question to ask is "why." Looking at that person as a "bad guy" is a way to explain it, but is that good explanation? What would be the evil motivation of someone to replace a highly productive individual? Why would they do that? Most likely there was something not quite right with the performance of the individual who was replaced. Maybe there were misunderstandings, or maybe incompatibilities, or maybe the person who was replaced was simply not very effective. Hard to generalize as there are so many realities that depend on the context, but asking "why" is key for growth.
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.
That does happen, but the question to ask is "why." Looking at that person as a "bad guy" is a way to explain it, but is that good explanation? What would be the evil motivation of someone to replace a highly productive individual? Why would they do that? Most likely there was something not quite right with the performance of the individual who was replaced. Maybe there were misunderstandings, or maybe incompatibilities, or maybe the person who was replaced was simply not very effective. Hard to generalize as there are so many realities that depend on the context, but asking "why" is key for growth.