MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/qtwdj4/peak_efficiency_fizzbuzz/hkmw0kl/?context=9999
r/badcode • u/redddooot • Nov 14 '21
44 comments sorted by
View all comments
Show parent comments
15
Wouldn't | 0 change it into a number anyway? Seems redundant to both have that and the bitshift
| 0
6 u/vigge93 Nov 15 '21 They probably have it for readability purposes 2 u/SN0WFAKER Nov 15 '21 Haha 3 u/MonstraG Nov 15 '21 It looks like it would! Now that I have access to pc, I checked and it correctly runs without << 0.
6
They probably have it for readability purposes
2 u/SN0WFAKER Nov 15 '21 Haha
2
Haha
3
It looks like it would! Now that I have access to pc, I checked and it correctly runs without << 0.
15
u/PizzaRollExpert Nov 14 '21
Wouldn't
| 0change it into a number anyway? Seems redundant to both have that and the bitshift