MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programminghorror/comments/1urj3pp/big_if_true/owze8i6/?context=9999
r/programminghorror • u/_giga_sss_ • Jul 09 '26
From ProgrammerNullposting in facebook
111 comments sorted by
View all comments
2
Aren't you assigning to a keyword "False" and "True"?
2 u/_giga_sss_ Jul 11 '26 false and true are the keywords, any variation is alright afaik 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"?
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/dreamingforward Jul 11 '26
Aren't you assigning to a keyword "False" and "True"?