Should I prefix package names with the name of my program?
Steven Schveighoffer
schveiguy at gmail.com
Mon Jan 28 21:57:17 UTC 2019
On 1/28/19 3:16 PM, H. S. Teoh wrote:
> On Mon, Jan 28, 2019 at 02:54:23PM -0500, Steven Schveighoffer via Digitalmars-d-learn wrote:
>> On 1/28/19 11:59 AM, Victor Porton wrote:
>>> Should I prefix all module names with `xmlboiler.` (where XML Boiler
>>> is the name of my program). These packages are expected to be used
>>> internally by my program, not as an exported API (however there are
>>> some little chances that in the future I will make a public API)
>>
>> I use a package nearly every time because if you don't, you run into
>> weird quirks of the language for top-level modules.
>
> Really? Such as? I've never heard of said quirks.
I'm trying to remember, but there are definitely conflicts with
top-level modules that do not happen when packages are involved. Someone
help me out here...
-Steve
More information about the Digitalmars-d-learn
mailing list