On the other hand, checking with the datasheet for the pinout will eliminate this problem, and when drawing the schematic, the FET symbol will often have the diode drawn inside – or, at least ...
It’s easy enough to plop in a diode for protection ... His solution is to add a P channel MOSFET which only allows power to flow when the polarity of the source voltage is correct.