Code-mixing is similar to the use or creation of pidgins, but while a pidgin is created across groups that do not share a common language, code-mixing may occur within a multilingual setting where speakers share more than one language.
