
Another example, is a cash point (ATM) won't give you your money until you take your card
On Fri, 16 Jul 2021, 09:28 Stephen J. Turnbull, < turnbull.stephen.fw@u.tsukuba.ac.jp> wrote:
Ethan Furman writes:
Isn't that javascript? Javascript idioms are not (necessarily) Python idioms.
True, but unless there is (preferably) a Python idiom or one from another language we borrow from at least somewhat frequently, why not adopt the Javascript idiom?
Note: I don't think you were arguing *against* this idiom, just querying the relevance.
I did question the OP's "value you need, value you want" characterization. It's not obvious to me you can decide that for the caller.
Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-leave@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/WO74OJ... Code of Conduct: http://python.org/psf/codeofconduct/