News for hackers. Stuff that matters.
Re:GraphQL: A data query language by bobbylox on Monday September 14, 2015 @09:19PM (#10218468)
Why invent syntax when you can specify the queries in JSON, too? MQL did it, and it was amazing: http://wiki.freebase.com/images/e/e0/MQLcheatsheet-081208.pd...
Re:GraphQL: A data query language by leebyron on Tuesday September 15, 2015 @09:40PM (#10224211)
The GraphQL language syntax is useful because it naturally expresses more patterns than JSON can. However GraphQL is eventually parsed into an AST which is represented as JSON, it's always possible to write that JSON directly.

Ultimately syntax is useful to express domain-specific concepts in a terse way.

Re:GraphQL: A data query language by dwiel on Monday September 14, 2015 @10:15PM (#10218644)
I still dream of the day that freebase's graphd or something like it is released. That was a really nice eco-system.