It's just going to make people go elsewhere for Java discussion.
Similar to how subreddit mods often banned people for saying things that they correctly or incorrectly perceived as being right-wing, being hate speech, etc.
And some of those people just made their own websites. Musk bought X. Etc. The overall level of speech online coming from people who would have been banned by those Reddit mods probably increased rather than decreased.