18yo retired dev making a return. How to get better?
I began programming when I was 15 year old. But due to mental health issues, I basically quit at 16. After treating myself and getting back on track, I'm back now.
But I still need to know, how to get better at programming? Is it just trying to code different sorts of projects, such as ML, graphics, networking, web, etc. and trying to code projects out of my comfort zone?
Or do I need leetcode, college/courses, or other things?
I try to program at the very least 3 hours a day every day, but I still make very silly mistakes, as you can see on this post I made on r/C_Programming
These are beginner level mistakes, not something I should be doing at this stage, so I believe there is something wrong with my learning methodology...