There is the ages old question of nature vs. nurture.
In this situation, you have the influences of the community upon the child. If a young person lives in an urban environment with a lot of opportunites to make money via street crime, then that young person has a higher liklihood of becomming involved in that sort of lifestyle. It is a "survival" skill.
That same young person who grows up in rural Montana among cattle ranchers will develop a different set of survival skills related to the herding, ranching and breeding of cattle. The necessary skills to survive in that setting are passed from adults to children.
Young persons who live in homes where there are a set of values that it is wrong to swear typically will not swear at home, but may experiment with swearing while away from home. The mores of a society are passed on from parents to children in the home environment.
Communities that genuinely express their value of young persons have stronger more socialized young people in the society who are ready to take on adult roles as they mature.
Communities that devalue the worth of youngsters and children typically have less mature and less socialized young people who are not ready to take on adult roles when the they are required to do so.
The community affects youth by providing outlets for their physical, psychological, and spiritual growth. If the community falters in providing those benefits, youths become disgruntled, rebellious, and unhappy. They may them turn to illegal and illicit behavior.
Since ages people all over the world have been learning and adopting the ways and values of the communities they live in. This is how these ways and values. which we call culture, and which differs from community to community, are passed on from generations to generations. For example, Americans in general are more friendly and out going, while British are comparatively reserved.
Thus culture has a tendency to remain static, but it does change, and usually it is the young in the society are responsible for change in the culture.
Thus effect of community on current youth is essentially same as that it was in past. The youth largely adopt the culture of the community, but they also rebel against the established way. Do not think that rebellion by youth against the established practices is a new phenomenon. History is full of rebels like Martin Luther. One of the greatest rebel of all times was perhaps Jesus Christ.
The main change that has taken place today is the change in proportion of conformance to change. Youth of today absorbs and accepts less of the establish culture as compared to past. There can be several reasons for this.
First, the youth is exposed to influences outside their own immediate community to a much greater degree than it was possible in the past. Globalization and improved communication is the root cause behind this.
Second, communities today emphasize individuality much more than in past. Thus the culture itself encourages the youth to question and change culture.
Third, people are much less dependent on their immediate community for meeting their economic and social needs.
Last, with fast changing technologies and economic condition there is greater need and pressure for change.
In summary, youth today is conforming less to the culture of their communities. This does not mean that only youth has changed. The basic culture prevalent today is different from what it used to be, and with that behaviour of people of all age groups is different from what it used to be.