There is an advantage to the nut wrench with the square hole in them.

You can put a 1/2 in socket wrench in that hole and get a lot more leverage, plus have something to actually hold on to.

There is no need to hit it with a hammer if you have the leverage.