Both RTD and Moffat had written for the various BBC/Virgin book series during the cancellation era, and while I guess it’s debatable to what extent that counts as experience with scifi writ large, they definitely had some background in Doctor Who itself.