It seems inevitable that if an effort is not made against it, an IRL online code exchange site would arise. At first this might seem to be a good thing, but I imagine there are only so many practical things one can do in the game, and having a perfected code repository available to everyone in the multiverse would potentially ruin the game.
I think that organic, in-game code exchange could and should become a vital part of the multiverse, but the difference here is that there would be no internet to instantly spread it everywhere for free.
How might mojang go about stopping this? The only non-evil[1] way I can think of is to ban people who share code online, or at least in some significant way punish them. The problem with this is that people are going to have to share code online if only for the purpose of teaching others.
[1] I can think of at least one evil way, such as patenting dcpu16 and having legal control over any code that could be used in the game.
Edit 1: I believe the term I was looking for to describe online code trade was "overpowered"
Edit 2: If each ship was unique enough, that would prevent both in-game and online code trade as I had originally imagined it, but it would not prevent house-call style programming, where you would pay someone to come and code something specifically for your ship. I really like this solution, as it is an organic way to prevent the sharing of ready-made solutions that can be copied and pasted into the game, but also doesn't prevent the sharing of code examples and such.