3 ms·
I know, I learned BASIC, Pascal, C, C++, and Ada before SQL and Perl. But see the way Ruby does it: "only nil (Ruby's null value) and a special false object a
by perl4ever 8y ago
I know, I learned BASIC, Pascal, C, C++, and Ada before SQL and Perl.
But see the way Ruby does it:
"only nil (Ruby's null value) and a special false object are false, all else (including the integer 0 and empty arrays) is true"
vs Perl:
"The number 0, the strings "0" and "", the empty list (), and the special value undef evaluate to false. All else evaluates to true"
The SQL way seems less like an arbitrary mess to me.