I'd say censorship is a bigger issue than trolls. Creating safe spaces to protect you from other views isn't going to make them go away.
Take a look at Reddit, where the /r/The_Donald, is just spam, shitposting and fake rumors, nothing to learn. On the other hand, there are subs like /r/AskThe_Donald/ which are very interesting.
IMHO banning communities like /r/The_Donald while encouraging the ones similar like /r/AskThe_Donald, would create a much better place, where you don't live in a bubble, without having to deal with people that just want to spam, shitpost and "trigger".
https://www.imzy.com/community-policy
Most of those things are also ostensibly prohibited on Reddit. It's just that Reddit's admins don't care to enforce those rules until there's significant controversy.