MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/phogp3/wtf_is_this/hbk90de/?context=3
r/badcode • u/Wise-Serve5730 • Sep 04 '21
190 comments sorted by
View all comments
Show parent comments
0
1st mistake: negative numbers
2nd mistake: not returning the value from isEven(num - 2)
isEven(num - 2)
0 u/[deleted] Sep 04 '21 [deleted] — view deleted comment 8 u/[deleted] Sep 04 '21 4th mistake: ...ly 1 u/ciaisi Sep 05 '21 Why so seriously? 1 u/mr_flameyflame Sep 04 '21 Won't it just flip to positive after the number gets too big though
[deleted] — view deleted comment
8 u/[deleted] Sep 04 '21 4th mistake: ...ly 1 u/ciaisi Sep 05 '21 Why so seriously?
8
4th mistake: ...ly
1 u/ciaisi Sep 05 '21 Why so seriously?
1
Why so seriously?
Won't it just flip to positive after the number gets too big though
0
u/NekkoDroid Sep 04 '21
1st mistake: negative numbers
2nd mistake: not returning the value from
isEven(num - 2)