On Tue, 21 Aug 2012 15:08:23 +0100, Carl Sturtivant <sturtiv...@gmail.com> wrote:

On the other hand, the suggested syntax of "bob?.department?.head?.name" from Kotlin is pure genius, and has a
good chance of actually being used.
Absolutely. Probably hard to include in D though, as a ? .b is the beginning of a conditional expression.

How about

   bob??.department??.head??.name

Hmm.. c# has another nice use for ??
http://msdn.microsoft.com/en-us/library/ms173224.aspx

R

--
Using Opera's revolutionary email client: http://www.opera.com/mail/

Reply via email to