A little of coordination for Rosettacode

bearophile bearophileHUGS at lycos.com
Mon Mar 4 16:50:06 PST 2013


Jos van Uden:

> but it doesn't feel right to have these
> functions publicly accessible. It's a matter of good coding 
> practice.
>
> If I import a module these functions are exposed.

I think you can't import this module, because it has a main().

But if you fear that, then I've added "private" to all global 
identifiers:
http://rosettacode.org/wiki/Simple_database#D

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list