Hi Piotr,
doesn't Doug's reply of 8:03 address this point? As he says, the none-aware
operator never gives you None when you ask for a missing attribute (these cases
always raise an exception). If we look at these two alternatives
phone1 = book.publisher?.owner.phone
phone2 = book.publisher.ow
Hi, I wanted to propose replacing ? with -> in the none aware syntax. This
makes the expression look like a chain, and I think that most people
intuitively can understand how the chain might get broken (and what would
happen in that case). For example:
zipcode = person->.address->['zipcode']
I