Hacker News new | ask | show | jobs
by cynicalpeace 611 days ago
The answer can (seemingly?) be found on a VSCode extension called Code Time. It keeps track of how much you've been "coding" and "actively coding".

"Your code time is the total time you have spent in your editor today. Your active code time is the time you spend actively writing and editing code in your editor or IDE".

They know as well as anybody the answer to the question on a statistical level, and can answer it personally for you too.

Their data shows most programmers code less than 1 hour a day, for a grand total of 4 hours 21 minutes a week: https://www.software.com/reports/code-time-report

1 comments

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
Median of WakaTime users is 23 minutes:

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