27 May
2020
27 May
'20
12:25 a.m.
On 27/05/20 7:36 am, Alex Hall wrote:
the only benefit I'm seeing is being able to avoid typing `if obj is sentinel`. In fact it saves even less typing than other proposals since you still have to write `obj ?= value`.
"Did the user supply a value for this optional argument?" is a simple and reasonable question to ask. It deserves to have a simple and direct way of answering it that always works. -- Greg