There's a few things potentially wrong (or right, in fact, depending on context - maybe you want them to fall through) with those switch statements, so I'm not sure precisely what he's objecting to...
And the first one is akin to:
if (data == 1) {}
if (data == 2) {}
if (data == 3) {}
...
if (data == thevalueIactuallywant) { doSomething(); } Switch(true) {
Case(int0):
// Do stuff for interrupt 0
Case(int1):
// Do stuff for interrupt 1
...[1] - tested on Safari, but still...