Thinking that HN would be better than <insert any bad behavior here> is a bit too hopeful of an assumption. Everyone is prone to bad / ignorant behavior. HN users being no exception.
But compare your average 8chan poster to your average HN poster and you'll see that for sure not all online communities are the same.
But that does not mean all HN posters are free of being hateful/discriminating against certain groups of people. Be it by accident or willfully.