I think cinema is better off for having had the hays code for a while.
Thats a blazing hot take, but I can see the logic. You have to be a lot more creative when working with a limited palette.
I think I disagree though. I find pre-code movies to be far more entertaining. Cinema should reflect the society that made those movies, and overbearing censorship undercuts that and presents that society as far cleaner and more upstanding than it actually was.