std.data.json formal review

Dmitry Olshansky via Digitalmars-d digitalmars-d at puremagic.com
Wed Aug 19 01:06:04 PDT 2015


On 19-Aug-2015 04:58, Andrei Alexandrescu wrote:
> On 8/18/15 1:24 PM, Jacob Carlborg wrote:
>> On 2015-08-18 17:18, Andrei Alexandrescu wrote:
>>
>>> Me neither if internal. I do see a problem if it's public. -- Andrei
>>
>> If it's public and those 20 lines are useful on its own, I don't see a
>> problem with that either.
>
> In this case at least they aren't. There is no need to import the JSON
> exception and the JSON location without importing anything else JSON. --
> Andrei
>

To catch it? Generally I agree - just merge things sensibly, there could 
be traits.d/primitives.d module should it define isXYZ constraints and 
other lightweight interface-only entities.

-- 
Dmitry Olshansky


More information about the Digitalmars-d mailing list