Live data from Hacker News

Ask HN: How Many Hours Do You Code in a Day?

news.ycombinator.com

41–50 of 56 posts

Re: Ask HN: How Many Hours Do You Code in a Day?

#42
post #26

Earlier quoted context omitted.

WakaTime has way more data and puts the average at 48 minutes of typing code per day: https://wakatime.com/blog/65-wakatime-2023-programming-stats

"Way more data", and you only disagree by 4 minutes. Sounds like you are both right. Although, median time spent coding would probably be a better measure than average.

52 minutes is the median, according to Code Time

Re: Ask HN: How Many Hours Do You Code in a Day?

#45

Earlier quoted context omitted.

"Way more data", and you only disagree by 4 minutes. Sounds like you are both right. Although, median time spent coding would probably be a better measure than average.

52 minutes is the median, according to Code Time

Median of WakaTime users is 23 minutes:

https://wakatime.com/api/v1/stats/2023

Re: Ask HN: How Many Hours Do You Code in a Day?

#46
post #27

WakaTime is the most popular automatic time tracker for devs. We release a report each January about the time devs spend coding using our platform [0] and the average is 48 mins per day. However, there's room for segmenting by things like languages, editors, job description, student vs full time vs contract. Maybe this year we'll segment our yearly report to show daily average segmented by these attributes. [0]: http…

Does this include time in the terminal using a REPL to poke around in the code or debug things?

Yes, using https://wakatime.com/desktop since it tracks any app even without a plugin.

Re: Ask HN: How Many Hours Do You Code in a Day?

#48
post #21
post #9

Earlier quoted context omitted.

> 24+ hours I'm impressed that you manage to code for more than 24 hours in one day. (Yes, I know what you meant. It just seemed funny.)

#1 on the list⁰! (But I don't blame you) ⁰. https://gist.github.com/timvisee/fcda9bbdff88d45cc9061606b4b...

“The average days is longer than 24 hours” is always a fun one.

Re: Ask HN: How Many Hours Do You Code in a Day?

#50
Yes.

--

I love writing code... There's writing code and there's what I do in between.

Sure, code isn’t the goal, it’s a means to an end. Code is a liability. Senior SWEs don't write code, they solve problems. And so on and so forth... In a professional setting we deliver solutions as quickly as possible, with an eye on minimizing the maintenance burden as much as possible.

All of this is orthogonal to how much I love the process of thinking about and writing code :-). I feel lucky because I know not every pro SWE feels the same. Also, you don't have to feel the same to have a great career.

Post reply on HN