It wouldn't be sexist if he wrote "how I taught my girlfriend to program".
Imagine if it said "how to teach your black friend to program". Why only black friends? Why only girlfriends?
Imagine if it said "how to teach your black friend to program". Why only black friends? Why only girlfriends?