Method a is more prevalent, and more realistic, except when friction estimates/assumptions are very wrong. Both are compliant, as I understand it. It is generally accepted that you should not take credit for uncontrolled friction to save your piping and equipment from overstress. Instead, it should be used for design loads on supports, or when friction will have deleterious effects to piping and equipment.
However, I am given to understand that both methods are code compliant; they just use different design philosophies.