I also have seen this happen with others, and have met girls who were able to recognize the "depressed and lonely programmer" pattern themselves through many similar dates (of course over dating apps) they had.
Also, it seems only logical that a totally male-dominated lonely and addictive profession that usually encourages and/or requires a lot of dedication even outside of worktime would produce a bunch of solitary men. (And maybe _attract_ a bunch of others.)