On Fri, Mar 30, 2018 at 12:04 PM, Nikolaus Rath <nikol...@rath.org> wrote:

> On Mar 25 2018, Guido van Rossum <guido-+ZN9ApsXKcEdnm+yROfE0A@
> public.gmane.org> wrote:
> > I gotta say I'm warming up to := in preference over 'as', *if* we're
> going
> > to do this at all (not a foregone conclusion at all).
>
> I'm surprised that no one has mentioned it yet, so as a quick datapoint:
> Go also uses := for assignment, so there's some precedent.
>

It's irrelevant, because Go's solution for inline assignment is entirely
different. (And there was no question that := is commonly used for
assignment -- just look it up on Wikipedia.)

-- 
--Guido van Rossum (python.org/~guido)
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to