Xavier Bestel píše v Po 01. 02. 2010 v 12:24 +0100:
> On Mon, 2010-02-01 at 14:44 +0800, Nor Jaidi Tuah wrote:
> > > Coalesce operator (??) is now implemented in master. ;)
> > > https://bugzilla.gnome.org/show_bug.cgi?id=580816
> > 
> > May I suggest adding ??=, as in
> > x ??= y;
> 
> Too bad C# choose ?? as the coalescing operator. GCC already has it and
> simply uses the traditional ?: with an empty second argument, like:
> 
>       x = y ?: z;
> 

Interesting. I didn't know that.

> which is, IMHO, quite easier to understand.
> 

Not really. It's just that you are used to it. There is nothing to
understand about an operator, you simply need to know what it does ;)

>       Xav
> 


Attachment: signature.asc
Description: Toto je digitálně podepsaná část zprávy

_______________________________________________
Vala-list mailing list
Vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to