A GCSE student said that, apart from metallic bonding, bonds were either ionic or covalent. An A level student said that this was not really true and that bonds could be intermediate between ionic and covalent. State one factor that governs what type of bond elements form and explain how this leads to different types of bonding.