Is phobos too fluffy?

Patrick Schluter Patrick.Schluter at
Sat Sep 19 17:42:00 UTC 2020

On Saturday, 19 September 2020 at 09:24:05 UTC, Jonathan M Davis 
> On Saturday, September 19, 2020 3:15:01 AM MDT Imperatorn via 
> Digitalmars-d wrote:
>> On Saturday, 19 September 2020 at 06:59:54 UTC, Jonathan M 
>> Davis
>> wrote:
>> > [...]
>> "It's very common practice"
>> Actually no it is not. D is the only example I've seen that 
>> routinely does this. Virtually all other languages separate 
>> code and tests.
> I specifically said that it was very common practice _in D 
> code_. You couldn't do it with most other languages even if you 
> wanted to, because they don't have unit test functionality 
> built into the language.
I introduced it the C project at work thanks to the magic of 
preprocessor macros and attribute((constructor)) of GCC. Works 
like a charm.

More information about the Digitalmars-d mailing list