As the movie ends, the final scene has a baby crying. Sam emerges from the bedroom to go take care of it. He is seen holding the baby symbolizing his maturity and better understanding of children. This movie gives a good representation of how men and women typically react to a pregnancy, particularly an unexpected one. The men are generally scared and nervous at first, having not been prepared to be a father.
Women tend to be mostly anxious and excited for the arrival of their first child.
The truth is that no one can be totally prepared for a first child. Even if planned, the news at first will be overwhelming.