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.
Programmer Humor
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
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.
if ((1 > 0) == 1)
printf("The OG truth\n");
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.
Does JeSus use javascript?
That's 'truthy'
Indexes start at 3. 😈
No no..... negative three
I'll take it over 0, because it will force people to think with what arrays are populated. And if 1 index or 0index is appropriate instead of defaulting all arrays and loops at 0.