Nobody forgets a compilers course.
A "compilers" course is probably the first CS course where debugging is real--and terrifyingly hard. A compilers course converts a programmer from a "null pointers are bad" person to a "null pointers are evil" zealot.
Compilers courses are probably the closest that a CS person will get to PTSD.