Why is the imho missing indentation of the \"case\" - keywords in a switch statement considered good style?
No indentation of the \"case\" keyword seems to be the defaul
Maybe it is to keep the same indentation level as its logical equivalent expressed in if statments? That is:
if
switch(i){ case 0: //do something 1 case 1: //do something 2 }
Would look similar to its logical equivalent:
if(i==0){ //do something 1 }else if(i==1){ //do something 2 }