Ok, you agree that it is subjective. Why is having more then one class per file "too large"?On 01/11/2018 2:25 AM, 12345swordy wrote:On Wednesday, 31 October 2018 at 13:22:28 UTC, rikki cattermole wrote:On 01/11/2018 2:16 AM, 12345swordy wrote:[...]We have been splitting Phobos modules up: std.algorithm and most recently std.datetime They were MASSIVE as in 30k+ LOC massive.That's nice. Again what consist of a module of being "too large"? That seems to me that more of a art then a science.Because it is.My rules (which tend to be a little stricter than most peoples) are:Soft split 1k LOC, hard split 3k LOC without a very good reason not to.But at the end of the day, it just depends on the scope of the module. Is it getting to large? If so, split.
Re: Wed Oct 17 - Avoiding Code Smells by Walter Bright
12345swordy via Digitalmars-d-announce Wed, 31 Oct 2018 06:40:33 -0700
On Wednesday, 31 October 2018 at 13:28:54 UTC, rikki cattermole
wrote:
- Re: Wed Oct 17 - Avoiding Co... 12345swordy via Digitalmars-d-announce
- Re: Wed Oct 17 - Avoidi... 12345swordy via Digitalmars-d-announce
- Re: Wed Oct 17 - Avoidi... Stanislav Blinov via Digitalmars-d-announce
- Re: Wed Oct 17 - Av... rikki cattermole via Digitalmars-d-announce
- Re: Wed Oct 17 - Avoidi... Walter Bright via Digitalmars-d-announce
- Re: Wed Oct 17 - Avoidi... 12345swordy via Digitalmars-d-announce
- Re: Wed Oct 17 - Av... Adam D. Ruppe via Digitalmars-d-announce
- Re: Wed Oct 17 - Avoidi... Walter Bright via Digitalmars-d-announce
- Re: Wed Oct 17 - Av... 12345swordy via Digitalmars-d-announce
- Re: Wed Oct 17 - Avoidi... unprotected-entity via Digitalmars-d-announce
- Re: Wed Oct 17 - Av... H. S. Teoh via Digitalmars-d-announce
