I'm diving into web development, but I'm finding it tough to stay productive. Typically, I manage to study for about 3 to 4 hours a day, broken down into a couple of sessions. During these sessions, I spend roughly 20% of my time actually coding, while around 40% goes to debugging and another 10% is just me pondering how to tackle various problems. I often skip detailed planning and jump right into coding. I've heard people say that you need to study or work for 8–12 hours daily to see real progress, which makes me question if my current study amounts are adequate. There was a time when I put in similar hours while preparing for a tough exam but didn't achieve the desired results, which makes me reflect on whether my approach, skills, or this career path is right for me.
2 Answers
You're actually doing pretty well with 3–4 focused hours! Debugging and thinking are critical parts of programming, so don’t think of them as wasted time. Instead of trying to cram in more hours, try optimizing your workflow. Spend a few minutes planning your tasks, and maybe define a small next step to tackle before diving in. You'll find that this can save you a lot of frustration later on.
You shouldn't feel bad about not studying for 8–12 hours. The breakdown of your time sounds pretty typical for development work; debugging and planning are just part of the job. A simple tip is to spend 10–15 minutes just outlining what you're aiming to achieve with each feature before jumping in. This can help reduce the back-and-forth that often leads to debugging frustrations. Also, think about progress in terms of what you've built instead of hours spent—this mindset can really change how you perceive your advancement in the field.
Exactly! I think having a reference, like a handbook with solutions or tips for common coding problems, could also serve as a really useful tool.

That makes perfect sense! So, if I plan out each tiny step along the way, it could help keep me focused and clear about where I'm going with my project, right? I was thinking about using something like Excalidraw to visualize my logic before implementing it. That could really help with my decision-making as I code.