On Tuesday, 13 March 2018 at 12:23:06 UTC, Ozan Süel wrote:

if (source?pool?repository?directory?users) // do something


That type of chain is sometimes referred to as a "train wreck" (see Law of Demeter).

If this is a common lookup it could be:

if (source && source.GotSomeUsers() )


Reply via email to