Code sharing options

As I’m proceeding with Python MOOC, I had to choose a way to share my code with my peers. There are many options in fact. Here are some of them:

GitHub 

This was recommended by the MOOC instructions. This is a multifunctional platform that allows you to create repositories, gists and forks, follow users, publish privately or openly, download codes and leave comments. What I also like about it is that you can follow users. For sharing homework gists might be the best option.

github

There are two shortcomings though:

  • You can’t publish your code without registration
  • Some users complain that the interface is a bit too complicated, so it takes time to get used to it

Pastebin

This is an extremely easy to use sharing tool. Actually, what you first see at the main page is a box where you can paste your code. You don’t have to register to do it (so you simply have a link that you can later share). You can also set the expiration time for each publication (from 10 minutes to never). And you can make it public, unlisted or private (for members only). You can also register if you like (I did to keep my homework in order).

Pastebin

Shortcomings:

  • I haven’t seen any commenting option, which might be good for feedback and revision while learning
  • I also couldn’t find any option to follow other members.

DPaste 

This is a very minimalistic service. You can’t register, you only can paste your code and save it. After you do it, it will stay there for 30 days and then it’ll be automatically deleted. So it’s good for quick sharing purposes, but not for continuous and systematic use.

dpaste

Also I recently found Bitbucket 

But I haven’t explored it yet. If anyone has some experience, please share. There are some explanations as to how to use it though: Bitbucket 101.

As for me, I’m currently using GitHub and Pastebin, because GitHub looks like a wonderful working space and Pastebin is good for sharing with those who are scared of GitHub:

Advertisements

4 thoughts on “Code sharing options

  1. I’m currently using Bitbucket for my git needs. Other than git it also provides hosting for mercurial, which I hear is easier to learn than git, but I haven’t tried it yet. I chose bitbucket over github because Bitbucket provides unlimited private repos for free. Weird fact: you can login to Bitbucket using your Github account.

    • Kevin, thanks for commenting and sharing your experience. Just went and checked out, Bitbucket really offered to connect my account to the one at GitHub (because I already had separate accounts at both platforms). Judging by what you said, I’ll have to have a closer look at it anyway. What seemed to me strange is that when I wanted to create a test repo it told me that I should first install something, but I didn’t have time to go into details then.

      • I think that something was probably git. If you’ve used Github, I think you probably installed git, though it might be that gists don’t require git (but I haven’t used gists, so I don’t know). Other than that, IIRC Bitbucket is exactly the same as Github when it comes to requirements for using git. It works wonderfully with Aptana Studio 3 by the way.

        • Yes, you must be right about git. I’ll have to learn more about the ways of sharing code, for now my knowledge is really scarce. I don’t think I installed git (yes, I was using gists and gists, as it seems to me, are just a copy and paste option). I’ve never heard of Aptana Studio 3. Just had a quick look. As far as I understand, it’s an almost universal IDE, right? I’ll have to have a closer look. Kevin thank you so much for your comments, they’re extremely helpful and informative.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s