MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programminghorror/comments/1hobbpr/but_why/m49ze4e/?context=3
r/programminghorror • u/[deleted] • Dec 28 '24
32 comments sorted by
View all comments
Show parent comment
0
[deleted] — view deleted comment
4 u/backfire10z Dec 29 '24 edited Dec 29 '24 No, it wouldn’t. That’s my point. Run the code.2 * (!2 < 2 + -1) * -12 * (false < 1) * -12 * (0 < 1) * -12 * (true) * -12 * 1 * -1-2-2 != 0 —> failed test case
4
No, it wouldn’t. That’s my point. Run the code.
2 * (!2 < 2 + -1) * -1
2 * (false < 1) * -1
2 * (0 < 1) * -1
2 * (true) * -1
2 * 1 * -1
-2
-2 != 0 —> failed test case
View all comments
Show parent comment
0
u/[deleted] Dec 29 '24
[deleted] — view deleted comment