Compton is one of my favorite places in LA.
Ostentatious displays of wealth (aka driving around in a Lucid) is a bad idea, for obvious reasons, but the violence (which has greatly decreased) is almost entirely between rival gangs, not random civilians.
Based on statistics in 2020, Compton experiences 232 violent crimes annually per 100,000 people. That rate is as low as places like Honolulu (Hawaii) and Boise (Idaho), so Compton is simply not that dangerous these days. It's the 28th most dangerous section of L.A. now.
The same rules apply as they do in any city:
1) Don't do business with criminals,
2) Don't engage in ostentatious displays of wealth.
But, if anything, like in Oakland, Compton has a
spectacular local family / community vibe. It's the kind of place where once you get to know your neighbors and make friends, people will actually go out of their way to help each other out; watch each other's dogs, get groceries for the elderly, and so on. That sort of thing doesn't exist as much in places that have never faced hard times.
That's just my feeling, having spent plenty of time visiting friends who lived in Compton but never actually living there myself. Perhaps
@hydbob can tell me if I'm right/wrong.