6 ms·
Please don't ever ask about "lines of code". This measurement means absolutely nothing, and I've been programming for over 20 years. Any responses would be mi
by makecheck 18y ago
Please don't ever ask about "lines of code". This measurement means absolutely nothing, and I've been programming for over 20 years. Any responses would be misleading at best.
There are huge programs that should be tiny. And there are small programs that are so clever that they're unmaintainable, and should be bigger. There are many ways to show that lines of code won't tell you what's really important about a program or programmer.
- mixmax 18y agoI absolutely agree. The problem is that unless you have a one man project without a deadline you need some kind of count. And LOC seems to be the best there is.
- DanielBMarkham 18y agoMight want to try team velocity, at least if you're on an agile project. That seems to be a nice balance between the need for metrics and the reality of technology solutions.
- wheels 18y agoAll lines are not created equal.
- deleted 18y ago[deleted]
- deleted 18y ago[deleted]
- wheels 18y agoHere's the way to phrase it, "How much of your day can you spend working on your projects?" That's the difference, seemingly, at a startup. I've had days where I was writing mindless interface code and banged out a couple thousand lines in a day. The hacks I'm really proud of are the ones that are 300 lines of code that took me two weeks. It's figuring out what those 300 lines should be that was the interesting part.
- tyn 18y agoProgram A has 20 lines of code. Program B has 20.000.000 lines of code. Is this absolutely meaningless information?
- jon_dahl 18y agoNot meaningless. But potentially unhelpful or even misleading.
- qwph 18y agoBearing in mind that you haven't said anything else at all about either program, I'd have to say yes, absolutely meaningless.
- tyn 18y agoOk, let's say someone proposes you to maintain either A or B, giving you 10.000$ per year. You have the right to choose one of the two. He tells you that the only info he can give you is the lines of code of each program.(think of it as a thought experiment.) If you say, I don't care to know - it's meaningless. you lose the chance to make 10.000$ per year by maintaining a toy application of 20 lines. Even worse if you say, I just need the 10.000$ and choose B randomly. I mean, at least one info you get is that A is a toy application and B is a big program. Might be big because it's full of useless sh*t, but still it's big and this IS some information.