On Monday, 22 January 2024 at 11:31:11 UTC, zjh wrote:
>On Monday, 22 January 2024 at 08:54:54 UTC, zjh wrote:
C++ can achieve ultimate simplicity
without violating DRY
,
And here, D violates the DRY
principle!
Moreover, as the package level, module level, class level, member level
, D language violates integrity.
Because D has no class level
limit.
These are all not serious states
.
i think D module base system is fine wished some other lang had the same you can avoid circular import ref.
dry? well he can easily turn that into a generic config static factory which its look like hes trying to do.
D is totally different from C++ in D you usually you wont construct the struct directly use alias as.