DIP 50 - AST macros

dennis luehring dl.soluz at gmx.net
Wed Nov 13 02:44:29 PST 2013


Am 13.11.2013 11:41, schrieb dennis luehring:
> Am 13.11.2013 10:58, schrieb Regan Heath:
>> Linq is often confused with LinqToSQL, the above was a description of what
>> happens in the latter.  If Person was an object representing a table from
>> a SQL database, then calling 'where' on it would translate into an
>> IQueryable<Person> object which when iterated upon using foreach would
>> execute the SQL statement shown above and return the resulting rows as
>> <someperson> objects one by one to the foreach body.
>>
>> Pure Linq is a DSL, an alternate syntax, which looks a lot like SQL, which
>> can translate to SQL but is not limited to SQL.  It could translate to any
>> alternate database syntax, or simply access a container supporting the
>> required operations.
>
> linq allows construction AND querying of non table-like hierarchical
> data, so its more an (basetypes|object)-hierarchy store/retrival system
> which can "also" work with the lower just-tables-like world of sql results
>

but linq isn't good in graph operations like neo4j
http://www.neo4j.org/learn/cypher

which woulds be also very nice as an macro feature for in D reference 
traversing


More information about the Digitalmars-d mailing list