[OT] Re: DIP 50 - AST macros
Jacob Carlborg
doob at me.com
Wed Nov 13 14:11:58 PST 2013
On Wednesday, 13 November 2013 at 17:13:11 UTC, Chris
Nicholson-Sauls wrote:
> Is this in any way better than the basic Ruby
>
> where( name: 'John', address: 'Main street' )
>
> ? Or was it just something quick and contrived to show the
> behavior, and not the utility, of the plugin? Just curious.
It was mostly to show what happens when the you have limited
operator overloading.
It has it advantages over the hash-syntax. You can do much more,
not equal, less then, greater then, like and so on.
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list