The issue at hand is that there is often a lot of dishonesty and deception involved in online discussion. People usually never reply back on their maybe wrong initial standpoint, and tend to radicalize their answers once they realize that they will lose the argument.
"Win the argument at all costs" is what statistically most online people use as a strategy. In online communities, honest curiosity is often punished, especially when you start with programming or other tech-related sciences.
I think that indirectly contributed to echo chambers and locality sensitive circle jerks, wherein a sub community accepts only one answer as a solution, either out of fear for downvotes of other proposals, or because those downvotes led to a socially acceptable answer.
I really miss the old phpbb web forums internet, where people could have interesting discussions with way longer attention spans than the 24 hours most platforms have nowadays.
In my opinion, interesting topics need active debate and cultural and knowledge exchange to make progress, but we somehow totally fucked that up on the internet. Be it missing enforcement of netiquettes, corruption of mods or anarchistic behavior for retalation against an opposing view (may I remind you that we still have 4chan, 8chan, 4plebs, kiwifarms, /pol/ and all the other messed up echo chambers, where hate is used a lot to "silence the enemy")
I wanted to give OP a general advice: Hate is a mind infiltration technique. If somebody uses hate in discussions, it means they cannot win by other - rational - means to convince the opposing party. If somebody intentionally uses those techniques, they follow ulterior motives that are motivated by anger, nationalism, religion, etc. Because they usually fear that they have to defend their own world view - otherwise it would shatter to crumbling pieces when it would've been held against their own moral standards.
Don't give up hope, OP, there are good and trustworthy people out there. Keep the ones that you find closely, and learn how to emotionally support them in times of need.