In the following essay, Cawelti compares the image of the hero inherent in hard-boiled detective fiction with that found in Western fiction and films. He notes that the hard-boiled hero embodies a darker, more violent, and more anarchic view of the world than his Western counterpart.

The thriving little frontier settlement is suddenly beset with outlaws. Coming out of nowhere they viciously attack, beating the citizens and killing the old sheriff. Desperately the citizens gather in the church. After prayer for divine guidance, a debate breaks out between those who would leave the town to the outlaws, and those who think they should tough it out. The braver element prevails and the townspeople determine to stay. They petition the governor for a new sheriff. In the nick of time, a heroic figure, beautifully...