Who decides when the content is “hateful”? The perpetrators of genocide characterize themselves as marginalized and their victims as a force seeking to eradicate them. That is the problem with censorship. Those are the people who end up with the control of speech. You end up with an Orwellian inversion of concepts like hateful speech for the exact reason that they can be weaponized for profit and power.
You show me which fascist government is going to censor the fascists living under it. It’s a paradox. They will not. They will censor the resistance.
I was about to say, half the things people write complex shell scripts for, I’ll just do in something like Perl, Ruby, Python, even node/TS, because they have actual type systems and readability. And library support. Always situation-dependent though.