On 3/12/2012 11:04 AM, H. S. Teoh wrote:
Tangential note: writing unit tests may be tedious, but D's inline
unittest syntax has alleviated a large part of that tedium. So much so
that I find myself writing as much code in unittests as real code.
Which is a good thing, because in the past I'd always been too lazy to
write any unittests at all.


That's exactly how it was intended! It seems like such a small feature, really just a syntactic convenience, but what a difference it makes.

Reply via email to