Oh ok, so we are discussing an offline defense against them. Thats another scenario

For beeing online, id say my way is a rather cheap way to defend, where you still win the battle, and loose as few troops as possible

If the ballista wave is a part of a multiway attack, its another scenario.

I clearly stated it was one way to defend against a single wave ballista attack