Hipreme's #4 Tip of the day - Don't use package.d
Hipreme
msnmancini at hotmail.com
Fri Nov 4 14:51:00 UTC 2022
On Friday, 4 November 2022 at 14:11:55 UTC, bauss wrote:
> On Friday, 4 November 2022 at 10:57:12 UTC, Hipreme wrote:
>> ...
>
> I disagree completely with being against package.d.
>
> Having used D for like a decade at this point, I've never
> experienced any issues with it.
>
> Most issues seems to be for newcomers and people who aren't
> entirely familiar with how D modules and packages work.
>
> package.d is absolutely essential in some cases.
Literally my linker error disappeared after I changed it to
another name.
And I can't see how essential package.d is, there's no D
difference in the code written.
As it being the exception inside our compiler, it is an entire
pool for bugs to get wild out there.
More information about the Digitalmars-d-learn
mailing list