On Monday, 4 January 2016 at 07:59:40 UTC, Jacob Carlborg wrote:
On 2016-01-04 00:50, Andrei Alexandrescu wrote:

This may in fact be good signal that an approach based on expression
templates is not the most appropriate for D. -- Andrei

This whole thread has already discussed and showed that D operator overloading is lacking in terms of expression templates. The post by Chris assumes no language changes. If D supported overloading all operators the opEquals method would not return true, it would return a proxy that overloaded the || operator. The whole lambda expression would only generate a single query. The rest of the post falls apart from this mistake.

But most of the posts are related to DSL (->SQL). What do you think about solution where no DSL, VM or other intermediate layer is used?

Also I have a theory that SQL appeared because of limiting expressiveness of other programming languages (like C) ;)

Cheers
Piotrek

Reply via email to