text: While related to and frequently confused with hardboiled detective fiction—due to the regular adaptation of hardboiled detective stories in the film noir style—the two are not the same.  Both regularly take place against a backdrop of systemic and institutional corruption. However, noir (French for "black") fiction is centred on protagonists that are either victims, suspects, or perpetrators—often self-destructive. A typical protagonist of noir fiction is forced to deal with a corrupt legal, political or other system, through which the protagonist is either victimized and/or has to victimize others, leading to a lose-lose situation.  Otto Penzler argues that the traditional hardboiled detective story and noir story are "diametrically opposed, with mutually exclusive philosophical premises". While the classic hardboiled private detective—as exemplified by the creations of writers such as Dashiell Hammett, Raymond Chandler and Mickey Spillane—may bend or break the law, this is done by a protagonist with meaningful agency in pursuit of justice, and "although not every one of their cases may have a happy conclusion, the hero nonetheless will emerge with a clean ethical slate." Noir works, on the other hand,whether films, novels, or short stories, are existential pessimistic tales about people, including (or especially) protagonists who are seriously flawed and morally questionable. The tone is generally bleak and nihilistic, with characters whose greed, lust, jealousy, and alienation lead them into a downward spiral as their plans and schemes inevitably go awry. ... The machinations of their relentless lust will cause them to lie, steal, cheat, and even kill as they become more and more entangled in a web from which they cannot possibly extricate themselves.Author and academic Megan Abbott described the two thus:Hardboiled is distinct from noir, though they’re often used interchangeably. The common argument is that hardboiled novels are an extension of the wild west and pioneer narratives of the 19th century. The wilderness becomes the city, and the hero is usually a somewhat fallen character, a detective or a cop. At the end, everything is a mess, people have died, but the hero has done the right thing or close to it, and order has, to a certain extent, been restored.