Building your programming ability? Open "secret" about tech industry: programmers only productive about 3-4 hours/day & fake the rest. No need to sit 8 hours.
So don't burn yourself out! Maybe lie down & visualize, before coding tiny pieces. Understand a single thing in many ways; creates strong bricks as foundation of your knowledge. With stronger bricks, the faster you will be.
Maybe first write down a few different ways of doing something; list advantages & disadvantages of each. "Analyze tradeoffs."
Code's often a poor representation of thought, a thin brittle artifact that executes.
a̭̖̩n̰̫d̵̟ ͎̼̖̪̜̲y̶̪̰̤̝͖o̙̳u͎̮͔̖̳̟ ̤d̰̲̩͓͘o͇̦͈n̷̘͓'̱̰̜̖̳t̪̥ ̝̱͖̹͍͚s͙͢e̙̹e̹̣͠m̥͉̬̲̹ ̰̮̮̺͟to͡ ҉̺͇̺u̷̱͍͖̳̲n̻̦̻̜͇d̷͖̬ẹrs̘̖̣̼t̖͚͔̬̪a̠̥͍ņ͓̤d̟͍͓̲̞͚͞