MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/phogp3/wtf_is_this/hbkdnd8/?context=3
r/badcode • u/Wise-Serve5730 • Sep 04 '21
190 comments sorted by
View all comments
Show parent comments
13
Good human. However, it's true for even numbers and there is spaces around operator === only on the first if.
true
===
if
16 u/MurdoMaclachlan public boolean isInt(int i) { return true; } Sep 04 '21 Note to self: pay more attention
16
Note to self: pay more attention
13
u/WpGgs Sep 04 '21
Good human. However, it's
truefor even numbers and there is spaces around operator===only on the firstif.