I am old and think screws are better. Period. Pretty easy. Coated nails are OK, but coated or stainless screws actually hold better. From drywall to sheds.
Now here is where I agree. The strength, force vector, moment or whatever you chose to call it should not be at the joint and screws will never make up for poor design/carpentry. Take gates for example, or even a rafter joint in your example. Yah don't leave a half inch gap and join it with a screw or four to make the gap so to speak. Near impossible with nails, but I've come across such shoddy stuff in houses with screws.