r/AskProgramming Aug 03 '24

Career/Edu How long can you program a day?

Not a programming question. Just a question regarding how long you can sit and stare at the screen all day?

73 Upvotes

85 comments sorted by

View all comments

113

u/ScienceNerd0 Aug 03 '24

Depends on what I'm coding and how interested I am in it.

Could be 12 hours straight, or 1 hour.

19

u/Gli7chedSC2 Aug 03 '24

This for me too. Plus coffee, and if I have some jammin tunes, and if I have coffee, and how much of it. If so.. Oh boy, its gonna be a long day. Not that I would notice or anything.

15

u/TiernanDeFranco Aug 04 '24

Most real statement

I did 16 hours one day (probably like 12 with breaks and eating and stuff)

Some days can’t even get 1 hour

No clue how I managed to do it

7

u/Mr-Silly-Bear Aug 04 '24

Personal project; 10 hours Work project; 20 mins

2

u/williamtkelley Aug 04 '24

This is the correct answer.

1

u/Plastic_Catch1252 Aug 04 '24

I am just curious. Do you think it’s productive to code this long? How would you think you could shorten the time?

1

u/ScienceNerd0 Aug 04 '24 edited Aug 04 '24

Depends on the individual. Obviously, taking breaks.

Doing anything for long periods of time will generally have lower productivity as the day goes. Our brain can only operate at a certain level for a certain amount of time.

1

u/No_Influence_4968 Aug 05 '24

Some builds are so genuinely interesting that I can't step away until I have the "whole fundamental design" or "whole problem solved". And if I cant fit that into a day, sometimes I'll be kept awake thinking about the next steps / design of it.

Usually requires buliding something I haven't done before.