News for hackers. Stuff that matters.
Re:The case against boolean logic by JackFr on Friday May 22, 2026 @08:02AM (#48234696)
> Like, it gets used a lot in SQL

Except it explicitly is not strictly Boolean in SQL because of nulls.

X = Y can take the value true, false or null if either or both X and Y are null.

Re:The case against boolean logic by mcdonje on Friday May 22, 2026 @08:37AM (#48235035)
I thought about mentioning nulls, but it's a complicated subject. Not all columns are nullable. Null handling rules differ. It's not always ISO/ANSI.