Barium Chloride is represented as $\ce{BaCl2}$.
Since chlorine is a diatomic molecule, It should be denoted as $\ce{Cl2}$.
Formulating, we get
\begin{array}{|c:cc|}\hline \small \rm Element & \ce{Ba} & \ce{Cl2}\\ \small \rm Valency & 2 & 1 \\\hline \end{array}
Crisscrossing the valencies of Barium and Chlorine we get $\ce{Ba(Cl2)2}$ — as opposed to the accepted formula of $\ce{BaCl2}$. How is it so?