11

When you're reviewing code and you find:

switch(intIn) {
case 1:
serial.println("1");
break;
case 2:
serial.println("2");
break;
case 3:
serial.println("3");
break;

etc

case 123:
serial.println("Correct response ");
break;

Comments
  • 1
    makes you afraid of what other dumb stuff you'll find. you can almost bet that any bugs have to do with type casting
Add Comment