3 ms·
> Programmers nearly universally agree that reading code is harder than writing it. I don't think there's universal agreement on that at all. Programmers unive
by naasking 3y ago
> Programmers nearly universally agree that reading code is harder than writing it.
I don't think there's universal agreement on that at all. Programmers universally agree that we spend more time reading code than writing it, but that doesn't somehow translate into it being harder.
Various studies have shown that programmers, on average, can only add at about 10 correct lines of code per day. We of course add more lines of code, but they tend to contain many bugs, so in the end only 10 lines of those are correct.
Maybe we only get 10 correct lines of code in because we're not reading the surrounding code correctly, and thus reading code is harder, or maybe 10 correct lines of code is just harder to write. I'm not aware of any hard data on this question.
- hmottestad 3y agoSounds like those programmers are spending a decent amount of time stuck in meetings :P