MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programminghorror/comments/1ph8wls/developers_in_2020/nt2e8v4/?context=3
r/programminghorror • u/Diligent_Rabbit7740 • Dec 08 '25
79 comments sorted by
View all comments
Show parent comment
12
You can simplify by having one call the other:
public static boolean isEven(int x) { return !isOdd(x); } public static boolean isOdd(int x) { return !isEven(x); }
4 u/stevefuzz Dec 09 '25 Lol 4 u/gabor_legrady Dec 09 '25 nice idea, lets me fill my stack :)sometimes going half way gets you to where you want to be
4
Lol
nice idea, lets me fill my stack :)
sometimes going half way gets you to where you want to be
View all comments
Show parent comment
12
u/Sarke1 Dec 09 '25
You can simplify by having one call the other: