A study on immutability usage

Jeff Nowakowski jeff at dilacero.org
Tue Oct 2 21:37:43 PDT 2012


On 10/01/2012 09:39 PM, Bernard Helyer wrote:
>> Our results from 14 Java applications
>
> Only 14? So it's a useless statistic.

No, that isn't true. How many language decisions in D are based on an 
analysis of even 5 programs, let alone 14? What if you were testing to 
see how fair a coin was, and it came up heads 14 times in a row? Would 
you have a very strong suspicion that the coin was biased? This isn't an 
idle question, as this kind of question happens a lot during preliminary 
testing of medical treatments, for example.

How many examples you have to look at depends on what you are looking 
for and the kind of results you get.


More information about the Digitalmars-d mailing list