Several of John Hughes films can be linked to nerdness in some fashion, and Sixteen Candles is one of those.
Sixteen Candles is about a girl (arguably a bit nerdy in her own right) who turns 16 in the midst of her sister’s big wedding. Her family forgets, of course, and she is left to suffer her misery with a geek stalker a a weird asian foreign exchange student.
Anthony Michael Hall might play more of a geek than a nerd, but he definitely has nerd friends, so for now he is considered a nerd with social skills.
Sixteen Candles has one of the great one liners ever spoken by a nerd in a movie: “No more yanky my wanky, Donger need food!”