On Wed, Jul 25, 2018 at 12:12 PM Nicholas Chammas < nicholas.cham...@gmail.com> wrote:
> On Mon, Jul 23, 2018 at 6:05 PM Giampaolo Rodola' <g.rod...@gmail.com> > wrote: > >> This: >> >> v = a?.b >> >> ...*implicitly* checks if value is not None [and continues execution]. >> This: >> >> v = a >> if a.b is not None: >> v = a.b >> >> ...*explicitly* checks if value is not None and continues execution. >> > > I think both of those are equally explicit. It's just that one notation is > more concise than the other. Explicitness and conciseness are related but > different things. > > <snipped> > It looks like others already discussed this point later in the thread. Apologies for rehashing the argument.
_______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/