Ask HN: How do I write code as quickly as I used to?
I've been a "programmer" since I was 10 years old, basically by copy&pasting other people's code and making it do what I want...
I was published in the national Serbian newspapers and was bullied heavily for being a "liar", a "fraud", a "thief", etc., and received death threats.
Since then my anxiety levels have been rising and my code quality has been dropping (well, relatively speaking, compared to what I did back then it's much improved but not as much as it could've) and my code output has been dropping as well.
I'm 17 now, soon to turn 18, but I can barely work 2 hours a day on something, when before I could and would sit at the computer for 24 hours and finish a project in one siting, without sleep or eating.
Nowdays I just waste my time reading blogs and not learning anything and I've become really depressed.
Occasionally, I get a huge rush of motivation and I finish a project and earn some money for example for a MacBook Air which I've always wanted and now have, but I then regress back into the depressed state.
I have also become very asocial and don't leave my house frequently, and find it difficult to go to school where I'm bullied and judged for things that I wish not share, and I only go to school to do exams and then I go back home and barely study, my grades are terrible and...
Help me HN.
Please note, I am going to a therapist but he's not helping and is quite useless and expensive. He's in the capital city of Serbia and I live quite far away so it's expensive to travel.