If the reader is rooting for the protagonist, they'll forgive you just about everything else.
Weir, Andy. "Advice for Writers." Galactanet, 2014.
Sourced by: Quote.org sourced
Andrew Taylor Weir is an American novelist whose debut novel in 2011, The Martian, was later adapted into a film of the same name directed by Ridley Scott in 2015. He received the John W. Campbell Award for Best New Writer in 2016. He also worked as a computer programmer for much of his life.