r/ProgrammerHumor • • Jan 05 '19

You know it's true

Post image
60.6k Upvotes

1.1k comments sorted by

View all comments

Show parent comments

5

u/[deleted] Jan 06 '19

if (isTrue == true)

Is super common.

5

u/U8336Tea Jan 06 '19 edited Jan 06 '19

Yeah, they should be doing

switch (isTrue) {
true:
    something();
    break;
 
default:
    asm("nop");
    break;
}