Context is everything. Sometimes harsh language, sex and violence are a key part of the characterizaion and plot.
&&
Then how were characters and plots developed in the films of yesteryear?
There are all sorts of examples where the Production Code ruined endings of movies or watered them down. A Streetcar Named Desire for instance. The ending of Hitchcock's 'Suspicion' makes no sense because the Code insisted that a husband cannot be shown to be cheating on his wife.