Best practice for dub registry package and module names

Ali Çehreli acehreli at yahoo.com
Sun Sep 4 03:39:04 UTC 2022


On 9/3/22 20:04, rikki cattermole wrote:
 > This slightly smells, single module dub packages.
 >
 > What does each module do?

The other issue is NIH because some of their functionality already 
exists. :/

A: Block of elements

B: Expanding circular buffer

C: Cache of elements

I would like to register only C. However, B and A can be useful 
individually as well.

My conflict stems from the fact that e.g. 'import block;' may collide 
with the user's own 'block'. There better be some namespacing, no?

Ali



More information about the Digitalmars-d-learn mailing list