You know that thing you do, where you write some code and then realize you need a main function to execute it? And then you write your main function, but it's not really your main function, it's a bunch of half commented test code to make sure that the important code works?
Do that in a unit test, and when you're done testing that particular piece, add some assertions and move on to the next piece of functionality. Boom, test driven development.
I hate to throw out this old chestnut, but "correlation does not equal causation." Just because religion existed in one form or another in almost every single culture, does not mean it's necessary for morality. As I mentioned previously, lots of social structures existed in early societies that had things to say about morality. That doesn't mean they were necessary precursors.
For anyone that wants to know, the movie that the top image is taken from is Lord Of War, and the person shaped shadow in the background is Nicholas Cage. Leto plays his coke head brother.
"Without the precursor of gender roles, there can be no morality."
"Without the precursor of tradition there can be no morality."
"Without the precursor of >insert social structure< there can be no morality."
Some of our social structures have things to say about morality. Sometimes they're saying"love your neighbor as yourself," and sometimes they're saying "burn that city to the ground and keep all of the preteen girls as sex slaves." Just because religion and spirituality have things to say about morality doesn't necessarily mean that they're worth listening too, and it doesn't mean we couldn't have developed a system of morality in their absence.
Without religion and spirituality, we may have developed a better, more universal system of morality, rather than the patchwork of haphazard and contradictory traditions we currently enjoy. We'll never know, because religion was created early in our history, and for the rest of eternity, we get to listen to asinine armchair theologians tell us "without religion, there would be no real morality."
Media targeted at a large audience tends to dumb moral and philosophical conundrums down to the simplest possible gesture instead of taking the ideas seriously.