Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming > #1681 > unrolled thread

kloc

Started by"io_x" <a@b.c.invalid>
First post2012-05-31 14:20 +0200
Last post2012-06-01 23:55 -0500
Articles 7 — 5 participants

Back to article view | Back to comp.programming


Contents

  kloc "io_x" <a@b.c.invalid> - 2012-05-31 14:20 +0200
    Re: kloc pete <pfiland@mindspring.com> - 2012-05-31 10:41 -0400
      Re: kloc "io_x" <a@b.c.invalid> - 2012-05-31 20:54 +0200
    Re: kloc Joseph Power <joepower@mindspring.com> - 2012-05-31 08:45 -0700
      Re: kloc "io_x" <a@b.c.invalid> - 2012-05-31 20:51 +0200
      Re: kloc Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2012-05-31 11:58 -0700
      Re: kloc BGB <cr88192@hotmail.com> - 2012-06-01 23:55 -0500

#1681 — kloc

From"io_x" <a@b.c.invalid>
Date2012-05-31 14:20 +0200
Subjectkloc
Message-ID<4fc760ad$0$1382$4fafbaef@reader1.news.tin.it>
what does it mean "1 kloc"?  1000 lines?
thank you

[toc] | [next] | [standalone]


#1682

Frompete <pfiland@mindspring.com>
Date2012-05-31 10:41 -0400
Message-ID<4FC782FE.104A@mindspring.com>
In reply to#1681
io_x wrote:
> 
> what does it mean "1 kloc"?  1000 lines?
> thank you

Yes.

1000 Lines Of Code

-- 
pete

[toc] | [prev] | [next] | [standalone]


#1686

From"io_x" <a@b.c.invalid>
Date2012-05-31 20:54 +0200
Message-ID<4fc7bd0f$0$1393$4fafbaef@reader1.news.tin.it>
In reply to#1682
"pete" <pfiland@mindspring.com> ha scritto nel messaggio 
news:4FC782FE.104A@mindspring.com...
> io_x wrote:
>>
>> what does it mean "1 kloc"?  1000 lines?
>> thank you
>
> Yes.
>
> 1000 Lines Of Code

Grazie 

[toc] | [prev] | [next] | [standalone]


#1683

FromJoseph Power <joepower@mindspring.com>
Date2012-05-31 08:45 -0700
Message-ID<364fs7174hssena49bq42m9d448kreraeg@4ax.com>
In reply to#1681
KLOC = 1000 lines of code; generally used as a productivity metric.

I once had a boss who wanted to know how many klocs we'd written each week.
Finally one week, in frustration, I wrote "25 lines. But they were the right
25."

After that he stopped asking about klocs.

[toc] | [prev] | [next] | [standalone]


#1685

From"io_x" <a@b.c.invalid>
Date2012-05-31 20:51 +0200
Message-ID<4fc7bc81$0$1374$4fafbaef@reader1.news.tin.it>
In reply to#1683
"Joseph Power" <joepower@mindspring.com> ha scritto nel messaggio 
news:364fs7174hssena49bq42m9d448kreraeg@4ax.com...
> KLOC = 1000 lines of code; generally used as a productivity metric.
>
> I once had a boss who wanted to know how many klocs we'd written each week.
> Finally one week, in frustration, I wrote "25 lines. But they were the right
> 25."
>
> After that he stopped asking about klocs.

:)
Ciao, grazie...

[toc] | [prev] | [next] | [standalone]


#1688

FromDaniel Pitts <newsgroup.nospam@virtualinfinity.net>
Date2012-05-31 11:58 -0700
Message-ID<EbPxr.5318$Bn.2152@newsfe12.iad>
In reply to#1683
On 5/31/12 8:45 AM, Joseph Power wrote:
> KLOC = 1000 lines of code; generally used as a productivity metric.
>
> I once had a boss who wanted to know how many klocs we'd written each week.
> Finally one week, in frustration, I wrote "25 lines. But they were the right
> 25."
>
> After that he stopped asking about klocs.
>

I've written 10 lines, removed 250, and edited 15.

I've fixed 5 bugs, but created 2 more.

The feature set was not affected.

Was I productive?

[toc] | [prev] | [next] | [standalone]


#1698

FromBGB <cr88192@hotmail.com>
Date2012-06-01 23:55 -0500
Message-ID<jqc6fo$34h$1@news.albasani.net>
In reply to#1683
On 5/31/2012 10:45 AM, Joseph Power wrote:
> KLOC = 1000 lines of code; generally used as a productivity metric.
>

I generally use it as a code-size measure (sort of like "mass" or "weight").

but, yes, there is also the next unit up, or the Mloc, which is 1000000 
lines of code, which may be used to measure or compare the size of 
applications.


> I once had a boss who wanted to know how many klocs we'd written each week.
> Finally one week, in frustration, I wrote "25 lines. But they were the right
> 25."
>
> After that he stopped asking about klocs.
>

I don't measure per-day or per week (and suspect it is likely highly 
variable), but can estimate the average growth rate over longer periods 
of time.


but, yeah, using it as a productivity measure likely has the side effect 
of people writing low-density sprawl-ridden code in order to look better 
to bosses ("why use a function when I get paid more to just endlessly 
copy/paste the same code all over the place?", ...).

[toc] | [prev] | [standalone]


Back to top | Article view | comp.programming


csiph-web