News for hackers. Stuff that matters.
Re:Mythical man month: 10 lines per developer day by kjksf on Wednesday February 12, 2020 @04:08AM (#22307196)
No, we don't misunderstand it. 10 lines per day is just rubbish.

Here's an example: https://github.com/sumatrapdfreader/sumatrapdf is code written by 2 people (me and another guy).

It's written, documented, tested and bug fixed.

It's 110k lines of code. And it's tight. Good luck removing 10k lines of code and not loosing any functionality.

Assuming 10 lines per day and round-the-clock 365 days of working, that's 30 man-years of work. 15 years for 2 people.

I didn't spend 15 years writing it. It's a part-time effort over 10 years.

The 10 lines per day is off by at least an order of magnitued.

And I don't claim to be spectacularly productive. Jonathan Blow wrote 90k lines of code for Braid in 1 or 2 years.

Re:Mythical man month: 10 lines per developer day by barrkel on Wednesday February 12, 2020 @06:11AM (#22307847)
Multi-team development is radically different to a two-person project, especially when it's in production with lots of money depending on it.

You can't rewrite much without the risk of breaking things, so you need a lot more testing. There's a lot of value in the code, so there's more to leverage to add functionality, but the other side is there's more to learn and analyze to efficiently leverage. And when there's lots more teams working on the code, there's more of it and it changes faster than you can expect to fully comprehend; you're continually analyzing and learning.

When I'm off on my own, spiking a new service or library, I can churn out 10k to 20k lines a month; it's very easy when it's greenfield, when there's no team coordination overhead, when you don't need to refactor other people's stuff when you redesign, you don't need to go through full code review cycle, the whole thing fits inside your skull etc. But that doesn't last forever, and it's not business as usual for feature development.

Fixing a gnarly bug might take several days of investigation and end up with a 1 line fix; and delivering that fix might make the difference in avoiding 6 or 7 figures worth of revenue churn. Does that mean it's 10000x less productive?

Re:Mythical man month: 10 lines per developer day by pgt on Wednesday February 12, 2020 @05:53AM (#22307767)
It sounds like you wrote 20-30 lines per day part-time over 10 years, which is within an order of magnitude of 10 lines per day for the average developer. Sounds about right to me?
Re:Mythical man month: 10 lines per developer day by nudpiedo on Wednesday February 12, 2020 @11:24AM (#22310126)
I also think that's correct, regarding the order of magnitude, familiarity with the topic... the 10 lines a day (order of magnitude) could perhaps make more sense from a perspective of cognitive overload.
Re:Mythical man month: 10 lines per developer day by _pmf_ on Wednesday February 12, 2020 @07:42AM (#22308346)
> I didn't spend 15 years writing it. It's a part-time effort over 10 years.

It's not that far off. I'm taking your example as rather confirming the point rather than refuting it.

Re:Mythical man month: 10 lines per developer day by JamesBarney on Wednesday February 12, 2020 @05:46AM (#22307728)
2 people is a pretty small project and by the looks of it it probably didn't involved nearly as much coordination as most large business apps. I also imagine you didn't have to do much coordination with project managers, qa, business analysts, architects, other devs, etc.

When I worked on a big project (several million lines of code) I routinely would code less than 10 lines per day.

Re:Mythical man month: 10 lines per developer day by majewsky on Wednesday February 12, 2020 @04:49AM (#22307440)
> 10 lines per day is just rubbish.

For you. For the average developer, on the large scale, I think it is closer to the truth than you'd think.

Re:Mythical man month: 10 lines per developer day by downerending on Wednesday February 12, 2020 @01:36PM (#22311393)
It doesn't sound like this was done within the context of a corporation, which slows things down a lot. Also, it has 424 open issues right now--is it really bug fixed?

(Also, not a fan of back-jumping 'goto's or putting executables in git repos. And s/supressing/suppressing/g)

You seem like a fine programmer, but I don't think this invalidates MMM.

Re:Mythical man month: 10 lines per developer day by jammygit on Wednesday February 12, 2020 @01:47PM (#22311503)
Recommend me an architecture concept or book. I’m trying to learn how to keep my “velocity” up over time

Edit: you made Sumatra?? I’ve been using that for a decade, thank you so much for creating it! I put it on all my family’s machines, it’s the fastest PDF reader I’ve found

Re:Mythical man month: 10 lines per developer day by jammygit on Wednesday February 12, 2020 @01:35PM (#22311386)
Braid was 3+ years iirc (according to a gamasutra interview I read)