Not coalescing around None-aware
Not coalescing around None-aware
Posted Dec 23, 2022 11:49 UTC (Fri) by smurf (subscriber, #17840)In reply to: Not coalescing around None-aware by adobriyan
Parent article: Not coalescing around None-aware
> not code smell for sure
Well, "language smell" then – as there really should be a way to instantiate the default option(s) at the time they are needed, not when the "def" statement is compiled.
Attempts to add a way to do this to Python have not succeeded so far.