3 ms·
This principle doesn't necessarily mean functions should never return booleans, though. Booleans are used in a variety of (popular) Python libraries when check
by krallin 11y ago
This principle doesn't necessarily mean functions should never return booleans, though.
Booleans are used in a variety of (popular) Python libraries when checking whether a password is correct (e.g. Django's `check_password` returns False if the password is wrong).