Somehow or another, Stack Overflow is able to maintain very high quality threads. I'm not sure if that is because of filtering algorithms, or human moderation (which is more or less crowdsourced).
I have not run into this kind of spam on SO.
There are a lot of "Kool Aid" threads, where folks get heavily invested in a technique or pattern, but those are legit, if somewhat tiresome.