Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
cloud-oak
13 days ago
|
parent
|
context
|
favorite
| on:
NaN, the not-a-number number that isn't NaN
SQL more elegantly introduces ternary logic in this case, where any comparison with NULL is itself NULL. This is sadly not possible in most languages where a comparison operator must always return a (non-nullable) boolean value.
Terr_
13 days ago
[–]
To make a deep cut:
https://thedailywtf.com/articles/what_is_truth_0x3f_
reply
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: