Of course, a nuke isn't necessary, if you get on the rock early enough. A few tons of thrust from a chemical rocket would be good enough. Or, a chemical bomb dropped down the well that you've drilled. Nukes are sexy, but not essential.
If it's small enough, and we see it far off, all sorts of things will work. But if it's large and close we need a nuke. So we shouldn't dismiss it. By this criterion, at least, nukes are better than non-nukes. Is there any way in which nukes are worse?
Basically the nuke, set off alongside and used to deflect rather than disrupt, solves more of the problem space for any given launch mass than anything else I've heard discussed. A lot of people mock nukes but as far as I can tell they remain the natural solution and the most practical one.