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


Reply via email to