As everyone else is saying, this definitely sounds like burnout. It usually comes when you've been working too hard for too long, without giving yourself an adequate break. And I don't mean that like you need to "take a long vacation", but rather you need to learn how to "take time every night to rest". And actually rest, getting to a place where you leave your work on the desk and don't think or stress about it until the next day.
An important thing to understand is that it will pass. Don't just give up and throw in the towel now. Take a step back, slow the pace down, for sure, but don't give up programming completely. On the other side of this, you will hopefully find a better way to balance your time and energy to try and avoid this in the future.
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.
As everyone else is saying, this definitely sounds like burnout. It usually comes when you've been working too hard for too long, without giving yourself an adequate break. And I don't mean that like you need to "take a long vacation", but rather you need to learn how to "take time every night to rest". And actually rest, getting to a place where you leave your work on the desk and don't think or stress about it until the next day.
An important thing to understand is that it will pass. Don't just give up and throw in the towel now. Take a step back, slow the pace down, for sure, but don't give up programming completely. On the other side of this, you will hopefully find a better way to balance your time and energy to try and avoid this in the future.