Well, from my experiences Twitter is way more than the racist people and stupid politicians stuff you usually hear from media. The developer community is active, helpful and shares a lot of interesting stuff.
Most of the programming accounts I used to follow were ruined by politics.
That's sad to hear. Luckily most developers keep their heads out out political stuff. If some account starts being political I almost instantly unfollow him/her.