This document discusses the differences between language, dialect, and code. It defines code switching as changing between languages or varieties of a language during a conversation. The document also discusses the relationships between attitudes, motivation, and language learning performance, noting they have complex and reciprocal connections. Positive attitudes may result from success or influence it, and are shaped by social factors. Implications for language teaching include promoting motivation, incorporating relevant language varieties, and expanding participation opportunities.