|
|
Subscribe / Log in / New account

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.


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds