My first published novel was written for teenagers, and there were rules laid down by the publisher: no sex, no smoking, no swearing. I blew up entire solar systems, I consigned billions of people to horrible death; they didn't seem to mind that at all. But no hanky-panky.
As quoted in "Men on Mars, Women on Venus" by Jay McDonald at Bookpage (June 1999)