I think it depends on the particular family and their situation. A newborn baby takes a lot of time, and so does a puppy. Unless the family for sure has enough time to devote to both the child AND the puppy I don't then I don't think it would be a good idea. If the family doesn't end up having enough time for both the child always comes first and the puppy could end up neglected, in a shelter, or chained up in the yard and forgotten.

Another thing I might add is the family might want to make sure their newborn isn't allergic to dogs. Just to prevent more of those "my baby is allergic, so we have to give up the dog." The dog doesn't understand. He just knows he's losing his family.