I've been trying to get the hang of coding for a while now, but I'm struggling to stay motivated. I have ADHD, which might be part of the issue, and while I understand a lot of programming concepts, I just can't seem to enjoy coding. I often tell myself to just push through, but it feels impossible with this subject. I'm looking for advice on how to motivate myself to learn coding more effectively and actually stick with it.
6 Answers
I get that coding can be tough. When I was learning, I fell in love with coding by recreating a chess game I liked. Finding a passion project made all the difference for me, and I was hooked after three months. Maybe try something similar—start small with projects that spark your interest!
Learning to code definitely requires a specific mindset. With ADHD, I see it as my superpower—I'm always curious and researching. It's important to embrace the challenges and keep pushing through. The answers are out there; you just need to find them! Remember, problem-solving is part of the process, so don’t give up!
I also struggle with focus, but I’ve found success by pairing tasks I don’t want to do with rewards. For instance, I tell myself I can’t watch a show until I've learned a certain section of coding. It can help motivate you to get through the tough parts!
If you really dislike coding, it's worth asking yourself if you need to learn it at all. Sometimes, it's okay to explore other paths that might excite you more.
If you're having a hard time, try to pinpoint what exactly you dislike about coding. Is it the frustrations, the time it takes, or maybe feeling overwhelmed? Understanding the root cause might help you find a better approach to learning it!
Forcing yourself usually isn't a great long-term solution. What worked for me was breaking things down into shorter sessions—like 20 to 30 minutes. Focus on small, achievable goals instead of trying to absorb everything at once. Once you see tangible progress, it becomes easier to stay consistent!

What chess game did you recreate? Was it just the basic chess rules?