How to actually learn programming?
At the start of 2026, I began learning C# and .NET to become a developer, but currently, I am struggling to continue learning.
I am currently studying a course. It is quite good because it has tasks with unit tests, which were fantastic when I saw them for the first time. However, the course always gives raw theory, like pages from Microsoft Learn and links to documentation. At the start, the course was easy because I had some background knowledge, but as the level of abstraction increased, I started struggling, and now I have hit a roadblock. The course has a time limit, so losing tempo causes even more struggling.
So, in short, I don't know how to learn. I am nearly 20, and all my life I have only studied to pass exams and then forget the knowledge. I have tried many things, like using notes (like Obsidian), trying to start with the practice tasks first to get the knowledge I need right now, and trying to process massive chunks of info through AI by personifying it as a strict senior who won't give me the code. I usually choose to do something else, like playing video games or just watching something. I fool myself into thinking that playing games like Factorio and modded Minecraft is good for me as a developer. I tried to separate the place where I study and play, but I only have one place for my laptop, and it is kind of huge to move somewhere else.
So any advice ? Maybe someone had the similar problem ?