Even before rinsing becomes a question, the cooking process plays a major role.
Don’t Skip the Salt:
Well-salted water seasons the pasta from within. A general rule is 1–2 tablespoons of salt per gallon of water.
Cook to Al Dente:
Stopping the cooking at the right moment prevents mushiness. Directly tossing hot pasta into sauce halts cooking for warm dishes, while cold water does the job for recipes that need chilled noodles.