Documented unittests & code coverage

Steven Schveighoffer via Digitalmars-d digitalmars-d at puremagic.com
Fri Jul 29 05:23:41 PDT 2016


On 7/29/16 3:01 AM, Walter Bright wrote:
> On 7/28/2016 11:07 PM, Jack Stouffer wrote:
>> you're making a decision on the user's behalf that coverage % is
>> unimportant without knowing their circumstances.
>
> Think of it like the airspeed indicator on an airplane. There is no
> right or wrong airspeed. The pilot reads the indicated value, interprets
> it in the context of what the other instruments say, APPLIES GOOD
> JUDGMENT, and flies the airplane.
>
> You won't find many pilots willing to fly without one.
>

What if the guage was air-speed added to fuel level, and you didn't get 
a guage for each individually?

-Steve


More information about the Digitalmars-d mailing list