It could make a difference. ChatGPT/copilot have no reasoning capability. They simply guess what the next word is going to be. If people stop sharing code, an AI will have a smaller dataset on which to be trained for new languages/p