Should parents raising bilingual children avoid code-switching?

Should parents raising bilingual children avoid code-switching?