Eh, when your future career prospects hinge on what grades you get it's perfectly rational to optimize for getting those grades over learning "properly". Especially in subjects you know you're already competent enough in or that aren't relevant to your future goals.
It's stupid in weightlifting because nobody is going to pay you a higher salary if you can do 15 reps instead of 10.
(Although there's a related and opposite problem where people massively overestimate how important their highschool grades are and get unnecessarily stressed out over it.)