Parents who want their babies to sleep through the night would be wise to avoid co-sleeping arrangements or feeding their children evening snacks beyond early infancy. The way parents put their babies to bed has a direct impact on how well children sleep when they reach 4 to 6 years old, according to a new study.