Seeking advice on programming style

Neia Neutuladh neia at ikeran.org
Tue Jan 1 00:12:11 UTC 2019


On Mon, 31 Dec 2018 21:51:11 +0000, Victor Porton wrote:
> What can you advice to put non-member functions?
> 
> 1. module scope (but then they may need to have long names to
> disambiguate with other modules).

Module scope, short convenient names, and use renamed imports to 
disambiguate if you need to:

import uri = rdf.raptor.uri;
auto docURI = uri.parse(uriString);


More information about the Digitalmars-d mailing list