It was crude, boorish, and unnecessary.
Attack their positions and their policies not the person.
Attacking people on a personal level is wrong and it makes you appear petty.
Bingo! We have a winner!