I think, the statement meant that when we are sure that under any case our program would not enter the default case, then placing assert there is a good practice.
If a switch block has no default case, adding an assert is considered appropriate.
means
default:
assert false;
I am not sure but thats how i took it when going to Assertion chapter. Correct me if i am wrong.
[ September 28, 2008: Message edited by: vidhya suvarna ]