DEV Community

Manuel Mariñez
Manuel Mariñez

Posted on

What is your ideal coding hour?

As a Software Quality Assurance by day and Software Engineering student at night, I have my difficulties trying to improve my coding skills during the day. Having a job, studying, (beautiful) girlfriend, family and friends, I sometimes struggle when I want to take a moment for me to code. While reading one of the posts here at Dev.to I found someone that recommended to wake up 1 hour earlier in the morning to do what i wanted, and that really helped... until I had so much homework to do that... well, I wanted to sleep at least 5 hours.

For motivation purposes I've been thinking on building a birthday webpage for my girlfriend's birthday during the #100DaysOfCode challenge that I recently get to know about

So I came up with this question for you all!, What is the best moment for you to code (you can add any ritual you do for preparation <('-'<) (>'-')> ).

Discussion (23)

Collapse
tux0r profile image
tux0r

9pm to 5am.

Collapse
mmarinez20 profile image
Manuel Mariñez Author

That's some serious workout!

Collapse
tux0r profile image
tux0r

I wouldn't call my code "serious".

Collapse
ptkdev profile image
Patryk Rzucidło • Edited

Night after 22:00

Collapse
jmulans profile image
Ju 🔗

8am, when office is empty

Collapse
juanfrank77 profile image
Juan F Gonzalez

I always used to think that I'm more productive by morning doing stuff early. But lately because of people living in my house and me not having the right tools to code uninterruptedly, I've been getting into the habit of doing all my important work by night.

I start around 10pm and then do a whole work sprint until 1-1:30 am and then go to sleep. My productivity has increased radically although I cannot say the same thing about my health.

Collapse
alexgwartney profile image
Alex Gwartney

Generally I am lucky enough to work swing shift. So I have several hours before work. To code but I also tend to just work on stuff after I get home. I really dont like the idea of getting up a hour earlier unless its my last choice. As I personally just feel more exhausted than any thing if I dont get enough sleep. Past this I will really code any chance I get it. Whether on my break/lunch at work or when I get even 15 to 20 minutes at home ect.

Collapse
loopdeez profile image
Loopdeez

8am - lunch (always somehow much less productive after lunch 🤔).
Slam an espresso on the train ride into the office and I am off!

Collapse
sudiukil profile image
Quentin Sonrel

With a lot of caffeine: any time of the day.

Without: mostly by night, after 10pm until... whenever I fall asleep on my keyboard, usually 2 or 3am. But I don't do that often anymore, having a day job and all.

Collapse
ben profile image
Ben Halpern

Once I've gotten past the day's todo's, so like 11am. Is when I really get into the groove.

Collapse
anoff profile image
Andreas Offenhaeuser

After 10pm.

Got leftover thoughts from work out of my head, too late to do anything in the household, not hungry anymore. So nothing to distract me from coding besides netflix..but that has to be turned off if things get serious.

Collapse
cjbrooks12 profile image
Casey Brooks

Around 2PM (when I typically get my second cup of coffee for the day), is when I usually get into a groove. Mornings are frequently filled with meetings, answering emails, and various other interruptions, but mid to late afternoon I can usually get a good chunk of time to work, freshly caffeinated and with few distractions.

Collapse
clairmont32 profile image
Matthew Clairmont

It depends on the day for me at work, but I typically find myself being productive from 2-4 and again from 5-7.

From my experience, it's all about finding when you get that inspiration or motivation to make progress and taking advantage of the times when you get in the groove. Once you're in it, try not to break from it until you start becoming mentally tired.

Collapse
jibe84 profile image
Jean-Baptiste

For me it's more from 5pm to 7-8pm

Collapse
beelzenef profile image
Elena.NET

Cold and lonely nights, after 21:00

Collapse
mvndaai profile image
Jason Mavandi

2-4pm

Collapse
yechielk profile image
Yechiel Kalmenson

Night after the kids are in bed.

So 10 pm until...

Collapse
fravelcj profile image
CJ Fravel

I used to do a split sleep schedule in college. 3-4 hrs, up for 2-3 and back to sleep for 3-4. That break in the middle was super productive.

Collapse
domitriusclark profile image
Domitrius • Edited

As soon as post 10PM hits I start the feel the energies flowing around me.

I then become the Super Saiyan 5 I always knew I was destined to be.

Collapse
juanfrank77 profile image
Juan F Gonzalez

Hahaha love this comment!

Collapse
rrampage profile image
Raunak Ramakrishnan

Generally 2 pm to 6 pm. I am super-productive if I take a power nap (15 min) just after lunch!

Collapse
tepidangler profile image
Tepid Angler

Definitely anytime after 10pm when my kids are asleep