Avoid Fiction Being Dated

Have you ever been knocked out of a story’s flow due to a current event-style reference? This was a concern when writing my first science fiction novel.