Do everything in Java…

Ary Borenszweig via Digitalmars-d digitalmars-d at puremagic.com
Fri Dec 5 07:00:15 PST 2014


On 12/5/14, 8:53 AM, Chris wrote:
> On Friday, 5 December 2014 at 09:27:16 UTC, Paulo  Pinto wrote:
>> On Friday, 5 December 2014 at 02:25:20 UTC, Walter Bright wrote:
>>> On 12/4/2014 5:32 PM, ketmar via Digitalmars-d wrote:
>
> Now is the right time to confess. I hardly ever use unit tests although
> it's included (and encouraged) in D. Why? When I write new code I "unit
> test" as I go along, with
>
> debug writefln("result %s", result);
>
> and stuff like this. Stupid? Unprofessional? I don't know. It works.

You should trying writing a compiler without unit tests.



More information about the Digitalmars-d mailing list