Andrew Taylor Weir (born June 16, 1972) is an American novelist and former computer programmer. His 2011 novel The Martian was adapted into the 2015 film of the same name directed by Ridley Scott.
If you want your novel to be adapted into a film, be a computer programmer first!