Especially in the crime fiction world, you hear a lot of crap from writers about technique. Draw the reader in. Make him love that protagonist. Make her hate that villain. Make them care. OK, not all of it is crap, but I find it oppressive. Anyone would think writing is not a solitary thing.
Anyway, this is all just a means of pointing you towards this interview with James Kelman, who is lumbered with no such self-consciousness:
"I never bothered about alienating readers, neither then nor now. The priority was to write the story properly. The readers could take care of themselves."