Pipe weapons can easily be crafted early for those oh crap moments. Also, most encounters with dogs in/near them have nearby blocks/terrain to take advantage of (e.g. cars, hay bales, etc.) No nerd poling required.
Edit: Out of curiosity, what was the name of the house with the dog that killed you?