There are sites that you can upload your code to where people can look, upload fixes, comment on, and download your code. It makes it easier for everyone. Using weird, unknown, or massive spammy/advertisement sites to house your code turns people off from downloading it altogether. However if your code is housed in a place like github, for example, people are more apt to look/download it.
There are 3 main sites that do pretty much the same thing, the choice is up to you which you prefer:
I cant say much for Google Code as i havent used it at all. BitBucket has free private repos if you dont want people to have access to it, but you have to pay to have more contributors. And then there is Github, which is has free public repos, and you can have as many contributors on it as you want, but you have to pay for private repos.
Either way its a learning curve, but its worth it if you plan to upload a lot of code. You have to google questions, and how-to's. This will help teach some basics with git and github. The benefits however are awesome. You can upload your code for the ease of working with other programmers. Large amounts of people can work together. Others may make a comment on how to better your code, along with the code that they suggest. If you jump
between numerous computers a lot, you can easily transfer project/files to and from any of them via your repos. Any change is saved in history, so if 6 months later you decide you want to use that one code you had, but you deleted that file, you can go back and still see the file contents and retrieve it.
Assuming you created an account at github, here is a quick tutorial on uploading your first repo.
1) first we need code to upload, which could be your code, or could be something as simple a text file with nothing in it.
metulburr@ubuntu:~/repos/test$ touch test.txt
ok now we have a file called test.txt. It doesnt have anything on it, but that doesnt matter.
2) now we need to initialize git because this is a new directory that never had a .git in it before.
metulburr@ubuntu:~/repos/test$ git init
Initialized empty Git repository in /home/metulburr/repos/test/.git/
3) now we need to connect this directory with a git repo on github. Go onto the github.com, and click new repo, make a repo name (can be anything), now click create repo. It will list off a series of commands you need to make too. You will see a second url bar containing something like the address https://github.com/metulburr/test.git in it where my name of repo was "test", copy it to your clipboard. now go back to your terminal
Depending on how you set up git or created a .netrc file with authentication in it, etc. You may also at this point have to insert your username and password that is associated with your github account.
and there you should see the test.txt file in your new repo.
This was very cut and dry. There are a ton of things you can do, and i only named off the requirements to upload, there is more if you want to change the code you already put up, etc. etc.
For those that want to ease the method of converting to github, if your on windows or mac, there is a GUI tool to help push/pull repos: