Null references
Ali Çehreli
acehreli at yahoo.com
Tue Aug 21 14:28:45 PDT 2012
On 08/21/2012 06:30 AM, Simen Kjaeraas wrote:
> On Tue, 21 Aug 2012 13:55:58 +0200, Regan Heath <regan at netmail.co.nz>
> 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.
There are many characters that has been neglected by D:
bob⸮.department⸮.head⸮.name
:p (If not visible on your screen, that character is U+2E2E.)
Ali
More information about the Digitalmars-d
mailing list