Hey guys I am just here to share/ask something will y’all.
I have been learning to code for like more than a year.
I am at a point that I have a lot of free time everyday, and there is nothing I need to do or distract me.
But I am at a point that whenever I code for too long (sometimes not even coding, but just trying my best to understand coding concepts and code snippets from books like YDJKS), whether it is js or just plain HTML and CSS, my brain just stopped working. Like it refuses to listen to me. Sometimes it is an hour (most of the time it is one hour exact) other times are 2-4 hours. (but this is really rare I can only code for this long whenever I am doing a new static site in HTML and CSS.cos I am really excited for the new project and time flies through when you concentrate)
And after that point (1 hour) whatever I am trying to learn I just can’t. However if I try to understand the same topic the next morning, it goes really smoothly and without any hiccups.
The question I want to ask is, how can I increase the hour I am learning at the same time avoid burnt out?
I want to be able to sit at my desk and code for 4 hour straight. I hope I can do 2 hours of HTML and CSS mock ups, and 2 hours of understanding js through YDJKS.
How long do you guys normally gets burnt out when coding ? Are these feelings gonna go away?
I heard some experienced devs talked on youtube when they said they have a lot of other obligations in their real job. For example like meeting with team members, meeting with clients, revising old code/debugging, and then at the end actually coding. And one of them said on a typical day , the amount of time he actually sit still and code is around 4 hours+. After that you are just getting diminishing returns.
I know we all see millions of articles on medium that said : how I become a dev within X period of time and how I spent 8 hours a day coding non-stop for a year etc etc.
But for me I don’'t plan on shooting the moon. I only hope I can code consecutively 4 hours a day. 5,6 days a week. Is this too hard to do so?