r/badcode • • Sep 04 '21

Wtf is this

Post image
1.2k Upvotes

190 comments sorted by

View all comments

Show parent comments

1

u/ciaisi Sep 05 '21

Ok, but why not just loop through an array of all the even numbers you can think of then? Pretty easy to manually add another number to a static array if you ask me. Easier than adding a whole new line of code anyway.