RFC: scope and borrowing

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Sun Sep 21 20:19:12 PDT 2014


On 9/21/2014 4:27 AM, Manu via Digitalmars-d wrote:
> It's also extremely hard to unittest; explodes the number of static if paths
> exponentially. I'm constantly finding bugs appear a year after writing some code
> because I missed some static branch paths when originally authoring.

If you throw -cov while running unittests, it'll give you a report on which code 
was executed and which wasn't. Very simple and useful.


More information about the Digitalmars-d mailing list