The stately := operator feature proposal

MrzlganeE bulletproofchest at gmail.com
Wed May 29 18:35:50 PDT 2013


Diggory:  That's very cool -- being able to do that in D. Thanks 
for showing me :)

But it is not even a remotely practical solution.
     The idea is to write less, and so the solution you've given 
is to write more mixins all over the place. I said I don't even 
want to write 'auto', I am surely not writing the big mixin chunk.

I only gave an example of math stuff.
But I'd use := for the non-math stuff too.

I want := it to be available everywhere.
Even if I am just typing a snippet into dpaste.

If D implements this, C++ will try to copy it 10 years later.
It's a futuristic thing -- what is old is new.


More information about the Digitalmars-d mailing list