3 ms·
If one does this please be appropriate about semantics / naming. Ie. Don't put a timestamp in a variable called `isTermsAccepted`. Rename it into `termsAccepted
by madsbuch 6y ago
If one does this please be appropriate about semantics / naming. Ie. Don't put a timestamp in a variable called `isTermsAccepted`. Rename it into `termsAcceptedAt`.
Generally accept that timestamps and booleans are not the same, but the truth value can be derived from the timestamp.
- bostik 6y ago> truth value can be derived from the timestamp Python used to disagree with you: https://lwn.net/Articles/590299/ https://lwn.net/Articles/590299/ (and the bug report with discussion spanning a couple of years: https://bugs.python.org/issue13936 https://bugs.python.org/issue13936)
- raverbashing 6y agoYeah, glad this was fixed > If I had to do it over again I would definitely never make a time value "falsy".