This is true. When my wife got her first coding job after college, her co-workers--all male--gave her a huge, black, strap-on dildo, the inspiration being she was going to need to "swing a big dick" in order to convince her all-male co-workers that she was 'worthy' of entering their profession.
That was the extent of Women in Programming 30-some years ago. I am also sure that kind of attitude has not helped attract females in any degree.
If my language offends anyone, I apologize. This-this type of attitude and language is exactly what my wife was presented with upon her entry to the field.