[OT] Walter about compilers

Simen Kjaeraas simen.kjaras at gmail.com
Tue Jan 22 07:57:06 PST 2013


On 2013-01-22, 15:59, Peter Alexander wrote:

> On Tuesday, 22 January 2013 at 14:44:26 UTC, Era Scarecrow wrote:
>> It's been quoted that for every 10 lines of code there's a bug. There  
>> are programs with tens of thousands of lines of code, so finding every  
>> bug is probably impossible for large programs (above 1000 lines).
>
> I love how >1kloc is "large" :D
>
> I'd say anything under 100kloc is a small program. 100kloc-1mloc medium,  
> and >1mloc large.

It's context dependent, of course. Finding all the bugs in 1kloc is doable,
but lots of work. Finding all the bugs in 10kloc, conceivably doable, but
unlikely to be worth it. >= 100kloc? ouch.

-- 
Simen


More information about the Digitalmars-d mailing list