I think the best plan would be to keep the mainline straight before and through the switch, if you have room to do that. I have had some problems with steam loco pilot trucks picking points where the mainline has a curve with a turnout in it set up for the straight path to go outside the curve. But, if you don't have the room, then that is still better than the S curve.