The idea of black people having a code is older than anyone on here.
One such code is that whenever you are approached by police don't fuss, don't fight, and don't flee.
A black person in these situations is similar to a soldier caught behind enemy lines.
It doesn't matter what rights you think you have, legally have, or whatever your ego tells you.
You're objective should be to survive an encounter with a suspected, and sanctioned, white extremist. Also known as a race soldier.
Having survived numerous encounters with the police myself, both justified and not, I can tell you this can work.
I will also say, that if you're in a situation with a race soldier that's out to kill, you're objective is still to survive.
If you feel you're life is truly threatened, then it is your natural-born right to defend yourself at all cost.
But if you can avoid shit hitting the fan, comply, and try to live to fight tomorrow.