Is phobos too fluffy?

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Sat Sep 19 15:05:41 UTC 2020


On 9/19/20 5:55 AM, Imperatorn wrote:
> On Saturday, 19 September 2020 at 09:45:13 UTC, Russel Winder wrote:
>> On Sat, 2020-09-19 at 09:15 +0000, Imperatorn via Digitalmars-d wrote:
>>> On Saturday, 19 September 2020 at 06:59:54 UTC, Jonathan M Davis
>> […]
>>>
>>> "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.
>>
>> Rust has unit tests in the source modules, just as D does. It works 
>> very well.
>>
>> Rust also has ways of doing integration and system testing, where the 
>> tests are separate. It works very well.
> 
> I get the point in doing so. What I mean is that explains why Phobos is 
> "fluffy" then, and it's probably not a problem

I'm bothered by the prevalence of empty lines in source code, not so 
much unittests or documentation.


More information about the Digitalmars-d mailing list