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.