Despite the different coupling codes on classic dmus, they were all really variations on a theme. The initial Yellow Diamond moved on to the standard Blue Square mainly with improved engine starting circuitry, which could have been usefully standardised but was deemed not worthwhile. The main difference was between cars with manual gearchange (most of them) and those with automatics. It will be apparent that a drivers desk of an automatic would have no means to control a manual gearbox. In fact the earlier automatic units did even provide for this, with an extra button to change gears up/down on any trailing manual unit, but the risk of the driver forgetting about this and pulling a manual gearchange unit too fast in low gear was unfortunately borne out in practice, there was a fire, and the different codes were introduced.
The AAR MU system is somewhat dismissed above but US railroads, with locomotives from a range of manufacturers, have not had anything else for the last 70 years. It has integrated perfectly with computer control, slow speed control, and all modern innovations. You can multiple a vintage switcher with a current all-electronic main line locomotive, plus anything else from any manufacturer, and drive the whole lot from any cab. Don't say it's not clever; it is.
The Kentish Town calamitous breakdown of a few years ago on Thameslink shows the real hazards of incompatible trains. If there was a breakdown, the plan was it would be pushed to the next station by the following train. Seemingly in isolation of this, the operator had stocked up on two types of train with incompatible couplings. And then, in isolation again, the timetable planners had devised a timetable where alternate trains were formed of the two different types of stock, so it was impossible for the rescue plan to work.