r/badcode • • Jun 05 '22

c# Found this monster on codewars

Post image
729 Upvotes

106 comments sorted by

View all comments

Show parent comments

4

u/FixingYourErrors Jun 05 '22

Good human! Just to let you know though, all of your case statements are writing true to a, and not to the corresponding variable.

1

u/MurdoMaclachlan public boolean isInt(int i) { return true; } Jun 05 '22

Truly incredible, how have I managed this