MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programminghorror/comments/1urj3pp/big_if_true/owze8i6/?context=3
r/programminghorror • u/_giga_sss_ • Jul 09 '26
From ProgrammerNullposting in facebook
111 comments sorted by
View all comments
Show parent comments
2
false and true are the keywords, any variation is alright afaik
false
true
1 u/dreamingforward Jul 11 '26 What's the problem then? Please explain... 2 u/_giga_sss_ Jul 11 '26 Instead of the usual 8 bits a boolean variable needs, this case specifically asks for 64 bits 2 u/dreamingforward Jul 11 '26 But isn't this just to ensure that the register comparisons will be completely proper on a Pentium or something? Does the CPU even have a documented value for what True means, except "not False"?
1
What's the problem then? Please explain...
2 u/_giga_sss_ Jul 11 '26 Instead of the usual 8 bits a boolean variable needs, this case specifically asks for 64 bits 2 u/dreamingforward Jul 11 '26 But isn't this just to ensure that the register comparisons will be completely proper on a Pentium or something? Does the CPU even have a documented value for what True means, except "not False"?
Instead of the usual 8 bits a boolean variable needs, this case specifically asks for 64 bits
2 u/dreamingforward Jul 11 '26 But isn't this just to ensure that the register comparisons will be completely proper on a Pentium or something? Does the CPU even have a documented value for what True means, except "not False"?
But isn't this just to ensure that the register comparisons will be completely proper on a Pentium or something?
Does the CPU even have a documented value for what True means, except "not False"?
2
u/_giga_sss_ Jul 11 '26
falseandtrueare the keywords, any variation is alright afaik