What I call a farmer switch is still perfectly legal.
The single pole farmer switch is bringing power to the receptacle first, and then sending a two-wire cable to the switch. The white supplies power to the switch, and the black brings the switched power back to the receptacle to use.
A farmer threeway is the same thing, add another switch with a three-wire - the whites are tied together, red and black travellers, and the black between the receptacle and the switch is the return, as required by 200.7(C)(2).
*Note: In my picture, I had red and white travellers - same difference. Easier to describe verbally with red and black travellers, and then I went looking for my picture.