Review: std.uuid

Jacob Carlborg doob at me.com
Wed Jun 13 23:35:37 PDT 2012


On 2012-06-14 03:57, Jonathan M Davis wrote:
> On Saturday, June 09, 2012 21:30:57 Dmitry Olshansky wrote:
>> Code: https://github.com/jpf91/phobos/blob/std.uuid/std/uuid.d
>> API-Docs: http://dl.dropbox.com/u/24218791/d/src/uuid.html
>
> * I'm not terribly fond of having names like Variant and Version, but they
> _are_ local to UUID, so I guess that they're clear enough. But the fact that
> you have to put a note about it _not_ being std.variant.Variant definitely
> indicates that another name might be better. I know that the RFC uses the word
> variant, but it also indicates that type would probably be a better name, and
> if Variant is unclear enough that a note is needed, then perhaps it really
> isn't the right name.

I understand exactly what you're saying here and it's probably good to 
not have too many conflicting names in the standard library. But at the 
same time it feels like the whole point of modules go to waste and we're 
back to C where everything is in the same global namespace.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list