RFC: std.json sucessor
deadalnix via Digitalmars-d
digitalmars-d at puremagic.com
Sat Aug 23 13:45:05 PDT 2014
On Saturday, 23 August 2014 at 09:22:01 UTC, Sönke Ludwig wrote:
> Main issues of using opDispatch:
>
> - Prone to bugs where a normal field/method of the JSONValue
> struct is accessed instead of a JSON field
> - On top of that the var.field syntax gives the wrong
> impression that you are working with static typing, while
> var["field"] makes it clear that runtime indexing is going on
> - Every interface change of JSONValue would be a silent
> breaking change, because the whole string domain is used up for
> opDispatch
Yes, I don't mind missing that one. It look like a false good
idea.
More information about the Digitalmars-d
mailing list