News for hackers. Stuff that matters.
Re:Ask HN: Honestly, how many hours do you spend coding each... by pacifika on Sunday April 21, 2024 @03:09PM (#40108300)
2-4h during weekdays.
Re:Ask HN: Honestly, how many hours do you spend coding each... by maremmano on Sunday April 21, 2024 @03:42PM (#40108590)
Less than 1 daily
Re:Ask HN: Honestly, how many hours do you spend coding each... by TillE on Sunday April 21, 2024 @04:26PM (#40108929)
I don't think I can manage much more than 4 hours of actual productive code writing. Not counting time spent testing or stepping away and thinking.
Re:Ask HN: Honestly, how many hours do you spend coding each... by simonblack on Sunday April 21, 2024 @05:48PM (#40109520)
Coding at 78 is a hobby.

If I get a project in mind, I can easily spend 8 hours or so in coding. Got to get 'In the Zone'.

However I refuse to pull all-nighters like in my 30s and 40s. OMG! It's daylight already! I've got to get changed for work! (I started in my 30s)

Most days, I don't do any coding. Futzing with stuff? That's a different matter.

Re:Ask HN: Honestly, how many hours do you spend coding each... by syndicatedjelly on Sunday April 21, 2024 @08:37PM (#40110507)
Something like 6-8 hours on weekdays, and like 4 on weekends. I count coding as having the editor open and I'm either actively writing/reading code, or researching something that will help me write code.

I used to be closer to 2 hours/day, early in my career, and it definitely held me back. I was told that meetings and talking to people counted as work, which is true - but they don't make me a better programmer. The act of just writing code constantly has made me advance tremendously in the last couple of years.