I admit I interact only with dog fanatics like myself. And most of them are childless. So my perspective is admittedly skewed. When I talk with my friends about their kids, I'm frequently struck by the similarities between raising kids and dogs. Like kids, dogs will test you, so you have to set reasonable limits for them and reinforce those limits firmly and consistently.
Time outs work well for both kids and dogs.
And if you don't give either species the attention and stimulation they need, you'll be sorry. For me, dogs have some distinct advantages over kids. They won't grow up and move into their own apartment. Toilet training and puberty are relatively quick and painless. There aren't any dating issues.