Tiger_Man_〔he/him〕 to Programmer [email protected] • 28 days agothat's truelemmy.blahaj.zoneimagemessage-square14fedilinkarrow-up1363arrow-down19
arrow-up1354arrow-down1imagethat's truelemmy.blahaj.zoneTiger_Man_〔he/him〕 to Programmer [email protected] • 28 days agomessage-square14fedilink
minus-square@[email protected]linkfedilink61•edit-228 days agoThat’s not the truth. It’s one of infinitely many truths. They hated him because Jesus didn’t understand how implicit type casting between int and bool worked.
minus-square@[email protected]linkfedilink15•edit-227 days agoLambda calculus gang has entered the chat with λx.λy.x as The Truth™
minus-square@[email protected]linkfedilink4•edit-227 days agoI told them to leave a pamphlet and fuck off, but the pamphlet was a fixed-point combinator that put them back on my porch again.
minus-square@[email protected]linkfedilink5•27 days agoAnd then there are things like strcmp() that uses 0 as true. At least it is for a good reason, but still confusing.
minus-square@[email protected]linkfedilink7•27 days agoI don’t find it confusing at all. The function doesn’t test equivalence, and the return value is not meant to be a logical value.
minus-square@[email protected]linkfedilink3•edit-227 days agoif ((1 > 0) == 1) printf("The OG truth\n");
That’s not the truth. It’s one of infinitely many truths. They hated him because Jesus didn’t understand how implicit type casting between int and bool worked.
Lambda calculus gang has entered the chat with
λx.λy.x
as The Truth™I told them to leave a pamphlet and fuck off, but the pamphlet was a fixed-point combinator that put them back on my porch again.
And then there are things like strcmp() that uses 0 as true. At least it is for a good reason, but still confusing.
I don’t find it confusing at all. The function doesn’t test equivalence, and the return value is not meant to be a logical value.
if ((1 > 0) == 1)
printf("The OG truth\n");