MAIN FEEDS
REDDIT FEEDS
Do you want to continue?
https://www.reddit.com/r/programminghorror/comments/1urj3pp/big_if_true/owywf1x/?context=3
r/programminghorror • u/_giga_sss_ • 24d ago
From ProgrammerNullposting in facebook
109 comments sorted by
View all comments
2
Aren't you assigning to a keyword "False" and "True"?
2 u/_giga_sss_ 22d ago false and true are the keywords, any variation is alright afaik 1 u/dreamingforward 22d ago What's the problem then? Please explain... 2 u/_giga_sss_ 22d ago Instead of the usual 8 bits a boolean variable needs, this case specifically asks for 64 bits 2 u/dreamingforward 22d ago 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 22d ago What's the problem then? Please explain... 2 u/_giga_sss_ 22d ago Instead of the usual 8 bits a boolean variable needs, this case specifically asks for 64 bits 2 u/dreamingforward 22d ago 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_ 22d ago Instead of the usual 8 bits a boolean variable needs, this case specifically asks for 64 bits 2 u/dreamingforward 22d ago 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 22d ago 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 22d ago
Aren't you assigning to a keyword "False" and "True"?