Wed Oct 17 - Avoiding Code Smells by Walter Bright

rikki cattermole rikki at cattermole.co.nz
Wed Oct 31 13:22:28 UTC 2018


On 01/11/2018 2:16 AM, 12345swordy wrote:
> On Wednesday, 31 October 2018 at 05:42:26 UTC, Nicholas Wilson wrote:
>> Running into such problems is a sign that your module is too large, 
>> and should become a package.
> I seen modules with more then thousand lines of code in the Phobos 
> library. What exactly consist a module of being "too large"? If having 
> two classes in a module with around 200-300 lines of code "too large"?

We have been splitting Phobos modules up:

std.algorithm and most recently std.datetime

They were MASSIVE as in 30k+ LOC massive.


More information about the Digitalmars-d-announce mailing list