|
|
|
|
|
by masklinn
1229 days ago
|
|
> Why is the implicit: > if not users: > an improvement in any of these cases? Function iterates over the input. User provides a list, if users == ():
test fucks up because lists and tuples are never equal.Literally no gain, only pain. |
|
Wouldn't this just be the developer using the wrong comparison for the types the function is expecting(hence more reason to be explicit instead of using the implicit false)?