On Sun, Dec 5, 2021 at 2:14 PM Rob Cliffe via Python-ideas
<python-ideas@python.org> wrote:
>
> Thank you for doing this research, Steven.
> The designers of 12 languages have chosen to provide late binding; those
> of 3 or 4 have provided early binding.
> I think this is at least tenuous evidence in favour of my belief that
> late binding is more useful than early binding.

Perhaps, but more importantly, it provides strong evidence that
late-binding of argument defaults is a real, viable concept and not a
hack.

(I also find it notable that quite a few of those blog posts, and even
the JavaScript language reference on MDN, call out Python as having
surprising behaviour. To people coming from those languages, Python's
current behaviour is a gotcha, which would become a much smaller one
if late-binding were a language-supported feature.)

ChrisA
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/DFMINR3AO753VEG6HS7I44W6YIVZ62OY/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to