Coding's one of those skills that is easy to learn and fun to make a routine of, but you always get those spergs who eat, breathe and shit code, just like roidmaxxers who eat, shit and breathe gym or gearheads who eat, shit and breathe engine modifications or hobbynerds or...
You get the picture. Any autist-adjacent skill will net you your fair share of social rejects, and coding happens to be one of the few skills out there where the internet is at your fingertips, along with all the trends and perversions that accompany it.
There's a monumental difference there.
Programming involves no exercise of the physical body, your gifts as a man will not benefit you in any way, everything you use is basically proprietary technology of someone else, there's no tools and skills you're going to pass on because all your tools and skills will be outdated within the single digits of years (I have entire boxes of computer parts/devices less than a decade old that are basically paperweights now. Can't say that about any of my other tools. My violin is over 100 years old and my chisels will never go out of date) if there's some way to be a programmer and not be connected to social media I'm unaware of what it is, your job and anything you do can be outsourced incredibly easily and thus it encourages no attachment to physical community or companionship, other hobbies require you to leave your house.
The OP is absolutely right, I moved away from programming because it became very clear if you are a programmer long enough it will work on your mind and your mental health
will suffer, so you should know enough to be able to get by and limit your relationship to programming to that. The idea of deliberately getting into something that involves spending even more time in front of a screen and being even more attached to modern technology is absolute lunacy.
And anyways, bodybuilders aren't a good comparison because they're basically already trannies, they have the same general attitudes. The idea of treating your own body as an object one uses to satisfy their boredom/need for direction/desire for control is not sane, your body is a tool not a hobby, so obviously it'll attract the mentally infirm.
Nothing else fucks people up like being a programmer aside from maybe trying to be a speedrunner. Other hobbies may sometimes attract weirdos, but programming will make them.