Any and all discussions about unions on HN sadly just shows how the supposedly smart people can be extremely misinformed and propagandized. Not even really worth engaging in the discussions when it seems like any compassion has been beaten out of the (mostly USA-based, which explains a lot) audience here. Happy for the devs, more power to them! For the sake of workers everywhere, I hope the US also catches up one day…
I think anti-union sentiment comes from the practical reality which is if you go to union-towns, they often look bombed out and horrible. The UAW, arguably the largest private union in the US, was founded in Flint, Michigan. The union didn't care about the city or its future, it simply sucked money out of the economy until there was nothing left, and then they ran off to DC. Conversely, industry towns without unions…
There are obviously areas with decline for sure, e.g. the auto industry, but unions are usually seen as lessening the impact of that on the workers rather than the source of blame (not that everyone holds a single view). E.g., for the most part, people don't blame the union (or non-unionized industry) for the problems in Flint as neither is meant to privately fund e.g. the water pipes. They blame the downturn of the auto industry, which then gets into whatever reasons one prefers to assign. For some that's unions, but it's not actually been a very big mind changer on that aspect.