How Many Hours Should You Code Per Day?
Vložit
- čas přidán 21. 07. 2024
- Lately I have been spending quite a bit of time writing code, and less time making CZcams videos. I've noticed that the amount of time I spend coding really change the amount of productivity or efficiency that I'm getting in those hours. For example, if I spent 12 hours coding I wouldn't be getting as much done per hour as if I was spending only 3 or 4 hours. I also recently discovered a sweet spot that I am going to share with you in this video. Enjoy!
💻Thanks to Sencha for sponsoring this video! Check out their state of the art JavaScript grid for FREE to build elegant and responsive software applications: www.sencha.com/?T...
💻 ProgrammingExpert is the best platform to learn how to code and become a software engineer as fast as possible! Check it out here: programmingexpert.io/tim and use code "tim" for a discount!
⭐️ Timestamps ⭐️
00:00 | How Long Should You Code For?
01:56 | Minimum Hours to Code Per Day
04:05 | Maximum Hours to Code Per Day
07:19 | Ideal Hours to Code Per Day
◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️
👕 Merchandise: teespring.com/stores/tech-wit...
📸 Instagram: / tech_with_tim
📱 Twitter: / techwithtimm
⭐ Discord: / discord
📝 LinkedIn: / tim-ruscica-82631b179
🌎 Website: techwithtim.net
📂 GitHub: github.com/techwithtim
🔊 Podcast: anchor.fm/tech-with-tim
🎬 My CZcams Gear: www.techwithtim.net/gear/
💵 One-Time Donations: www.paypal.com/donate?hosted_...
💰 Patreon: / techwithtim
◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️
⭐️ Tags ⭐️
-Tech With Tim
-How Many Hours Should you Code a Day?
-Coding Productivity
-How Long Should I Code for in One Sitting?
-Programming Session Length
⭐️ Hashtags ⭐️
#TechWithTim #Coding #Programming
Am I crazy for coding 5-6 hours per day?! Let me know how long you code for.
no. That seems decent. I'm a beginner that doesn't code much, but I'm trying to get to around 5 hours too.
I am coding 4 hours & gaming 2 hours 👀
45min problem solving nd 6hour gaming 😂😂
i code 10 hours a day i learned 6 languages in 3 months
Remember to take amphetamine.
There is a vscode extension called "code time" that helps you manage your coding time and give you weekly reports
I don't remembering what it's called but pretty sure Emacs has that too.
I read this and stopped watching the video to go install it... Lol
What about vim?
@@luckyblo82 ratio + L + imagine doing ratio couldnt be me especially for no reason + fatherless
Thank you for this♥️
I have severe ADHD, so sometimes my max is an hourish, maybe an hour and a half, or I have days that I can go 12 to 14 without much of a drop in efficiency. It makes it difficult to manage deadlines, but I manage pretty well.
Just gotta do what you can, keep hammering 💪
i have severe adhd as well and i can fully relate to your comment. my max drastically varies within that same range of hours. the more consistent you get with daily (or almost daily) coding it becomes easier. you got this!
I have ADHD and CFS, so sometimes I'm totally unproductive after 45 minutes. Other times I can be as productive at 12 hours as I am at the start. My average productive period is probably 4-6 hrs. I often find that I'm still as effective towards the end as I am in the start, then I suddenly hit the wall, and it all seems too hard, and I have to stop within 1 minute.
ADHD is a bitch. But yeah sometimes I get crazy hours when I get obsessed. I hit 12-14 for a few days sometimes. And others I can’t go past 10 mins. Lol. Sometimes 10 mins of codings means 10 mins or really REALLY intending to code before giving up
@@xerotolerant I've got a positive outlook on that. 10 minutes of coding is really just reminding yourself what the problem is to you can work on it while you do other things
6 hours is pretty long, but you do this for a living. Im studying programming and I find 1 to 2 hour sessions are enough to complete simple tutorials and modify them. But sometimes if I learn something new and finish in an hour I'm done.(at least that session) studies have shown that studying frequently, in short periods and daily is a better way to learn something new. Studying excessively can be harmful and cause burn out.
Good video. I myself work at a backbreaking, thankless job. But I love coding. It is my favorite hobby. I try to put about an hour or two into it. Bit more on the weekends.
Don't kill yourself.
honestly, this made me feel so much better, i thought i was just relly slow andbad at remembering because i have multiple projects on the go at once and sometimes it will be 3 or 4 days before a re-visit and continue any one of these projects, and sometimes i need to literally just stare/read through the existing code multiple times before i even start having a small sense of wth i have to do and how to do it....
Impressive research. Please also make video on Ergonomic chair, desk table and sitting position for coding long time.
The sweet spot is an important concept. Thanks for sharing!
At 61 years of age the amount of coding I do is dependent upon the amount of back pain I have from sitting. I like coding because it keeps me awake as opposed to the admin stuff.
Ikea Poang chair is the way to no back pain. 😂
I don't know why but it's nice to hear that there are people of age who code too
Am 16 years old and have liked coding since I was 12/13, so I guess thats the reason it's so "new" to hear
Have fun coding man
@@deei5130 can you send me a download to your most favorite project that you’ve completed? I’m curious to see what others my age have made and am looking for ideas.
I eyes hurt from staring at a screen all day
@@He_ze get blue light glasses
Thanks for this video ❤️.It is boosting my motivation on problem solving 👍.
Really Thank you.❤️❤️❤️❤️
Thank You, I really need this great advice.
Tim : 1 hour as min and 6 hours as max probably 5 hours is the sweet spot .
My Braino : 30 min max ,take it or leave it .
Hard agree on the topic "there's a min and max if you want to do it right for you", and it's not always easy to find the sweet spot and to listen to yourself. It helps to do something related to the code, but that isn't coding (like doing arrays or graphs on paper) if you want to keep the flow but relax the coding muscle.
man's getting smoother with the sponsor Segways !
this vid made me realize i need to practice more.I spent about half an hour a day doing coding practice.Just finished up my first year in college need to go into next year a better coder
this is very interesting. I'm currently a beginner in coding, so I now realize that I should probably code for much longer periods of time to be more productive.
Yeah good idea…..also…..get rid of the wife. :)
It's the other way around in programming. Productivity means less code which does more. So you need to think more to come up with a productive solution using less code. Programming is the art of how not to do a job instead of doing it.
Relax... in the beggining it takes more mental effort to conceptualize so many new things, so you'll get tired faster. It requires more rest to fixate stuff in a solid way.
As you advance, you become more mentally efficient and you'll aquire more stamina aswell.
I'm intermediate, btw.
but don't push yourself too much...it will be counter-productive and can potentially cause a burnout
@@aammssaamm Well said brotha!
I read that after 4 hours the glucose levels in the bloodstream start to fall and you get hungry. So it's best to avoid that because then you may eat more and may have cravings for something sweet.
I think you should code for 3 hours then use the 3-4 hour mark to complete one of the parts of the problem you are working on. After you complete that, you mark down the next problem/part/function that you need to do so that you don't stop in the middle but at an appropriate spot so when you go back you don't exactly need to continue were you left off and remember what you were trying to do... Then you should take a break and eat and drink a lot of water(even better have some with you and drink now and then) After the break you can see whether you feel tired or ready. If you feel tired you rest more or leave it for another day(well probably not because you will likely want to get back to it and that desire is going to make you do it if you aren't very tired and in any case you seem to have so much energy that you could even do it without the break!) Then you get back to it.
Sometimes you may find yourself in the middle of something and have to continue still but I think that ideally you want to do 3 hours then a little more to finish the part you are doing or another part that you can do in one hour or less.
Another thing you may try is eat while you are doing it. Not ideal at all but certainly better than neither resting not eating.
Another thing to try: stop at inappropriate moments. This way you might learn how to lock up from where you left off.
Perhaps a bad idea but I thought about it. The thing is that you probably already know how to do this. And you likely do it so well that you won't even learn to do it much better, it's like already done as good as possible almost!
Anyway, I am probably making some assumptions about you and they may be wrong.
I think you should stop at 4 hours or earlier, eat at the break and then after the break (you can rest or do other things) go for another bout which may be smaller this time but with the break I feel like you will likely manage 8 hours of full capacity or more. Anyway that's what I think and I am curious whether it's going to be read or not by Tim and how likely it is to change his mind... I think you are very talented so it may be a substantial improvement to do so and so I felt that I had to say this(even though I probably shouldn't bother because chances are someone else wrote something similar but still something drove me to do it !)
Hello Tim, my flow state is about 40 minutes. Intereting video.
For me if I need to do a large coding session is to start coding when everyone else has finished their day in the evening where no one can bother you, its the constant break in concentration with meetings and emails and messages that break deep thinking.
My brain starts getting foggy around the 4 or 5 hour mark and I usually won't try to push against it
haha smooth intro Tim v nice
Thank you Tim
As long as you enjoy it, you have all your time.
Hm. It depends. I can code 5-6 hours without interruption, but I'm really tired after that and code quality is sinking after 3-4 hours.
as CS Student I code 4 hours a day or more if I need to 10 minute breaks after every hour to refresh the brain and body
My hint for the day:
When you're not able to unterstand the logic behind a fairly simple if statement, stop coding.
Actually it's to late, when you're that far.
I can only recommend the Pomodoro technic paired with a good ol' nap around 20-30 minutes.
Keep solving problems my friends ♥
I averaged 5-6 hrs/ day. Took 15 mins break every 1-1.5 hrs. Had 30 min lunch and also walked around block when my brain was hurting.
I have enjoyed this video and honestly I will try to implement this in my coding
If your just a hobbies then I would recommend 1 to 2 hours only. If you work professionally then maybe 8 hours
When I was 27 years old, I will focus on code after 30 minutes then I forget about time and realized that it is already night.
Yes, this is not a life. I forgot to eat and drink. Eventually, I have back pain and I realized that after getting some sleep, the pain is gone.
The pain will come back if I sit for long either while driving or sitting. When I can't endure it anymore I just remember to lie and sleep.
Once I got back pain, I can't code for a long time anymore. Either I take a rest for full a week without sitting too much and can start code just fine again or
reduce the amount of time of sitting or driving.
Each day it’s like this…….After push errors, pull errors, duplicate files, accidentally deleting commits, GitHub learning, googling to fix missing module issues, googling to get vscode to update properly, studying to understand how the hell to get the environment working properly, repeated console.logs() , repeated resetting of your database for simple operations, frequent visits to stackoverflow, getting started on a cloud server, getting heroku to host the server properly……….hours of getting simple modules to import properly, back and forth with your css alterations to get things to Center properly,……. and then ……….2 hours coding…… this should be sufficient
😂
I learnt coding back in the old days……… so constantly freezing up the computer, crashing , and then wait 20 mins for the game to load from a cassette tape (I was young as ) , programming in assembly code……without a book on the subject (we were poor) ……having to crack how to convert hex to decimal …..with no help, …… buying games purely to hack into them and learn coding, …. Developing and writing my own code to help me code before object orientated programming was a thing. ……. Hours and hours spent on a single line of code.
Creating relocatable modules …..ahhhh nice, the good old days
Man I trust your videos 📹
7:50 Hello Fresca!
I do 8hr...5hrs 10am-3:30pm...8pm-11pm everyday except Sundays
I'm new to coding and trying to put in 10+ hours a day to learn python. Is that bad? Just started 2 weeks ago.
I think thats unnecessary because ı am also learnıng python and as you know that at the beginning it is impossible to remember what you see and learned durıng your 10 hours of work done and ı believe that if you studyıng lıke 4 hours it would be more efficent for you
I usually code for 5-6 hours a day and other time I am reading and learning for another 5-6 hours
Het tim i want to ask u can i become a software engineer i am unable to understand data structures in one shot plz tell
If you are unable to learn anything there is gonna be trouble.
And data structures are basics.
I'll be sending this to my boss.
I think I need this
Tim can you make tutorial on the Golf Game Pygame. Collab with Tiff in Tech? Pygame chess tutorial? Django apps?
Ooo this is gonna be exciting
I sit down and code for 3h is that unhealthy?
Wait, you guys are allowed breaks?!
9 hrs here
I don't code everyday.
Hi Tim i'm 16 now , I want to learn coding but i don't know where to start . Can you have some advice for me learn C++ or JavaScript first ?
go with python
start with Javascript
go with go (ok that was just for the pun)
imo python is better,
It's mainly because it's easy to understand syntax and learn concepts
You definitely shouldn't start with C++. Do it and you'll regret it. I would say start with Python or Go.
The SpongeBob animation was 😎
I found out for myself that coding for more than like 3 or 4 hours per day really is unhealthy for social functions.
4 or 5 is ideal for me :)
too many 😝... No I’m joking, I think it is important at least 4 hours but of quality. I mean clean code, so you understand what to study and who to follow 😊
True. 5 is only for the deadlines. Otherwise, normal pace and no more than 4 hours.
@@aammssaamm I think it is very difficult to manage the hours of the day, with time you manage them. During the day, it happens to read an article from a blog, a video from CZcams, read from the docs etc. Therefore sometimes the hours of code are also few but you have done so much more that is worth the same 😄
'Only' 3 or 4 hours? Surely that's a good amount of time to be putting into something? 10+ hours of anything a day sounds like lunacy to me
athletes spend more time than that to perfect their form. Musicians spend hours a day practicing on instruments. The only way humans get better at something is through repetition, full stop. This really isn't that unreasonable.
Can you please do a tutorial on how to make Wordle in pygame?
8 to 10 hours with 15 minute breaks every couple hours, 30 mins launch and at some point I have to walk get out and do some walking 😁
1h to 90min sounds about right
This must have been obvious for some but I gotta tell you, almost 70% of your time is done for problem solving while the rest of the time is for coding. Example, in that 5 hours of working, majority of the time was spent on solving the problem, not coding.
Do you ever have a hard time stopping for the day?
Hi Bro. Nowadays most no-code platform out there. So, is it future? No more value for coding? Please explain from your personal perspective. Thank you
i have been coding so much with my blinds closed so there is no sun lite my skin looks like your shirt
There should be a video on which time is best for coding
Depends on the person
Depends on the circadian rythm of a person
Hey Tim ❤️
A animal is behind you 💞 Save yourself from that animal..
my record was 35 hours to close a project for the release :) The average is 7-8
I'm 14 yrs old and the only thing I do is code, I've even stopped playing games lol
I'd say code when ever you have time and code 1h everyday if you don't have time :)
It take me around 30 minutes to get the flow of work 😝😝😊😊
Im getting hopes up, i’d better do coding than play videogames in that time
Can you guide us all the algorithms
I code for like 6-7 hours
At least 4 hours
After around 5-6 hours of coding I feel my brain really can't grasp as many levels of concepts/abstraction which results in poorer/buggier code and weird logic.
I code for about 4hours
When did Tim get a cat?
Long time ago!
If you have talent, one to two hours a day and do it for a year is enough for you to get a software engineer job!
For an engineer job you need a proper education. You like it or not.
@@aammssaamm not really, I have a friend who's only proper education is middle school in the direction of Economics and he works as a software engineer.
It's as luck dependant as the python interpreter interpreting your 4am code which you've not tested before, like a 2 percent chance you'll get a job, but it's not possible (I guess?)
@@deei5130 it depends on the "engineer" position
My flow state is after about 400mg of caffeine
who noticed the cat.....??
isn't it obvious??? 100 hours a day at the least, come on even a child can code in x86 asm for 72 hours a day you can't even do 100? that's honestly just sad.
The max I code per day is 3 hours
7:50 cat detected
At least 25 hours a day.
8h-18h at work && 19h-23h at home
🤤🤤🤤
Just learn to code for 3 hours in 1 hour
ez
i feel drop off at 1 hour :V
Less advice more coding tutorials
24/7 period.
i code more than 10 hours a day i learned 6 languages in 3 months 🙋
Amphetamine?
lol get a life...
There is a book called Deed Work that explain that focus is like a muscle. It is a limit resort, an normal person usually can focus for about 3 to 4 hours a day.
So, if you want to master something. Be intencional on who you use your focus time.
Clearly a man who does not have 3 kids lol
usually 2-3 hours is my max.
console.log(‘all the time’)