A little of coordination for Rosettacode

Jos van Uden usenet at fwend.com
Tue Mar 5 02:45:53 PST 2013


On 5-3-2013 2:05, bearophile wrote:
>> But if you fear that, then I've added "private" to all global identifiers:
>> http://rosettacode.org/wiki/Simple_database#D
>
> I have removed "private" again, because it's bad to program compromises.
> This is a complete program, it's not a module, and it's not imported. No need for private things.

// this shouldn't happen

test.d

import simdb;

void fun() {
     auto db = load();
     // etc
     store(db);
}



More information about the Digitalmars-d-learn mailing list