Unittests and extern(C)

Meta via Digitalmars-d digitalmars-d at puremagic.com
Wed Jun 21 16:15:09 PDT 2017


On Wednesday, 21 June 2017 at 22:19:48 UTC, H. S. Teoh wrote:
> Finally, the moral of the story is that had I written unittests 
> for compile(), I would have caught this bug much earlier than I 
> did.

Also, DRY. Writing the same code more than once is always a 
recipe for disaster. It's bitten me so many times and continues 
to even when I think I'm safe.


More information about the Digitalmars-d mailing list