I tried to answer an SO question exactly once, around 15 years ago. Someone asked a question which was covered perfectly by some OSS code I had already published, so I linked to that in my answer (while explaining how the linked code was relevant). My answer was promptly deleted, of course, for linking to code. After that I lost all desire to contribute.