Should I prefix package names with the name of my program?
H. S. Teoh
hsteoh at quickfur.ath.cx
Mon Jan 28 20:16:40 UTC 2019
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.
T
--
Старый друг лучше новых двух.
More information about the Digitalmars-d-learn
mailing list