home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.os.vms      DEC's VAX* line of computers & VMS.      264,096 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 262,659 of 264,096   
   Waldek Hebisch to arne@vajhoej.dk   
   Re: Clair Grant on VMS code base   
   19 Apr 25 13:29:32   
   
   From: antispam@fricas.org   
      
   Arne Vajhøj  wrote:   
   > On 4/17/2025 7:26 PM, Lawrence D'Oliveiro wrote:   
   >> On Thu, 17 Apr 2025 08:56:17 -0400, Arne Vajhøj wrote:   
   >>> If we discuss what is the "right" answer, then I would actually say 2.   
   >>>   
   >>> for i := 1 to 10 do writeln(i)   
   >>>   
   >>> for i := 1 to 10 do   
   >>>      writeln(i)   
   >>>   
   >>> for i := 1 to 10 do begin   
   >>>      writeln(i)   
   >>> end;   
   >>>   
   >>> for i := 1 to 10 do begin   
   >>>      writeln(i)   
   >>> end;   
   >>>   
   >>> for(i = 1; i <= 10; i++) printf("%d\n", i);   
   >>>   
   >>> for(i = 1; i <= 10; i++)   
   >>>       printf("%d\n", i);   
   >>>   
   >>> for(i = 1; i <= 10; i++) {   
   >>>       printf("%d\n", i);   
   >>> }   
   >>>   
   >>> for(i = 1; i <= 10; i++)   
   >>> {   
   >>>       printf("%d\n", i);   
   >>> }   
   >>>   
   >>> I would say 2 for all.   
   >>   
   >> How much difference would such distinctions make in real-world code,   
   >> anyway? I suspect not much. Longer compound statements would dominate   
   >> shorter ones in the line count.   
   >   
   > It is all based on averages.   
   >   
   > If person X write a tiny program and person Y write a the   
   > same tiny program, then the non-blank and non-comment line   
   > count may vary a lot.   
   >   
   > But if a team of a 100 developers write an application close to   
   > one million lines of code and another team of another 100 developers   
   > write the same application, then  then the non-blank and   
   > non-comment line count will be relative close.   
      
   I would expect 1M loc prohect to have rater strict code style rules.   
   Individual differences between programmers should average out,   
   but difference due to rule books will stay.   
      
   --   
                                 Waldek Hebisch   
      
   --- SoupGate-DOS v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca