Was there a real “code of the West”? The simple answer is, no. Although Zane Grey featured one in his 1934 novel of the same name, there was no codified list of acceptable behaviors that Westerners followed.
Author Ramon Adams said many rules were far less formal but still understood by those in the West. Tend to your horse’s needs before your own. Never try on another man’s hat. Don’t inquire into another person’s past. And never steal another man’s horse (or else).