Unlike a spear, which retains some utility in single combat, a pike is essentially useless outside a compact phalanx. The formation, in both senses of the word, of the Macedonian phalanx, gave Philip an infantry force that was capable of standing up to Greek hoplites in open battle. If it was to retain any strategic utility however, its men needed to be able to fight outside the confines of the phalanx. As with most peoples living in an area surrounded by hills, the traditional Macedonian weapon was the javelin. Philip ensured that his men were trained in the use of both weapons, and carried whichever was the most appropriate for the occasion, so that his infantry could fulfill the role of both hoplite and peltast as need be. When marching through broken country, javelins were carried: Polyainos relates how when Onomarchos' Phokian's ambushed Philip's men, they were able to fight back at a distance. Similarly, a pike was of little use when assaulting a city, when troops had to climb ladders up walls and inside seige towers, so the javelin was carried in this situation as well.
Philip's brutally efficient training programme, backed by his autocratic royal power, ensured his men lived up to his expectations. Training men to use two sorts of weapons with equal facility is no easy task, and very few other classes of warriors over the millenia have ever attained such dexterity; the few that readily spring to mind are mostly aristocratic steppe horsemen accustomed to both lance and bow. Training his men to use two weapons that required a completely different formation to fight with, a rigid pike phalanx against the loose order required to hurl javelins, made the achievment all the more outstanding, especially given the inclusive nature of his reforms - it was the entire national levy that was so trained, and not just a picked elite. The result was that not only could Philip eventually come to count on troops as good as any opposition could field, but he would have numbers of his side as well.