Carmack about static analysis
    Jacob Carlborg 
    doob at me.com
       
    Sat Dec 24 07:57:43 PST 2011
    
    
  
On 2011-12-24 13:42, bearophile wrote:
>> There was a paper recently that noted that all of the various code quality metrics correlated at least as strongly with code size as error rate, making code size alone give essentially the same error predicting ability.  Shrink your important code.<
>
> In theory functional-style is a good to shrink the code, but in D functional-style code is a jungle of (({}){()}) so it's hard to write and hard to read.
There have been suggestion for a new lambda syntax, among them the one 
used by C# and Scala:
foo(a => a * 2);
-- 
/Jacob Carlborg
    
    
More information about the Digitalmars-d
mailing list