|
|
|
|
|
by disgruntledphd2
19 days ago
|
|
i feel like you probably just shouldn't return None, as it causes issues when tracing problems through the system. If you must return None somewhere, I'd really prefer it to happen in one place (so the top level function may return None if something weird happens, but all the individual functions return a value). But to be fair, this is probably just trauma from tracking down weird sentinel values. |
|