The issue with that is that I find because of the officers then it lets the other unit infiltrate part of the phalanx and start killing your men (whereas if a solid wall of spears is presented then your unit is effectively invulnerable from the front in relation to melee).