There's a big difference between passing a class with an A and passing a class with a D-.
At least in my field of study, potential employers look at individual course grades. It gives an interviewer the opportunity to ask, "So how do you explain this C- in diff eq?".