When comparing Codepen vs SourceLair, the Slant community recommends SourceLair for most people. In the question“What are the best cloud IDEs?” SourceLair is ranked 5th while Codepen is ranked 17th. The most important reason people chose SourceLair is:
SourceLair provides a minimal Django stack which can be used to host projects and see development results right away. Plus, there's a public link that can be used to share with colleagues or team.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Easily export your pen
CodePen makes it really easy to export code as a zip or Github Gist.
Pro Real time output
Pro Lots of support for frameworks and preprocessors
CodePen has an impressive amount of support for preprocessors (such as Jade, Haml, Slim, Sass, Less, Stylus, Coffeescript and PostCSS). There is also plenty of frameworks and libraries to pick from (Foundation, Bootstrap, Angular, D3, Backbone, Ember etc.).
Pro Great display/profile page
The codepen profile page allows you to display all of your public pens, and control which order you want them to be viewed in. This is great for showing off your work to possible employers, other devs etc..
Pro Easily fork pens
To fork a pen only requires clicking one button, and you'll be able to modify the pen on your own account.
Pro Great community pens
You can search through other pens, either by keyword or popular, picked or recent.
Pro Django stack, out of the box
SourceLair provides a minimal Django stack which can be used to host projects and see development results right away. Plus, there's a public link that can be used to share with colleagues or team.
Pro Simple and efficient interface
SourceLair features a very efficient interface, containing only the tools needed, thus providing focus on what's important - code.
Pro GitHub integration
SourceLair lets you log in and sign up with your GitHub account. This enables you to clone your GitHub repos with a single click and start working immediately on them.
Pro Git & Mercurial support
Every software project on sourceLair is backed up by the Source Control Manager of your choice; Git or Mercurial. Clone repos, commit, pull and push changes and work with branches on the cloud without having to install and configure anything or worry about compatibility between your Source Control Manager and the system of your choice.
Pro PHP real-time preview
You can split you editor and watch the result of your code in real time.
Cons
Con No private pens with free account
There is an option on Codepen for private pens, however it requires upgrading to a Pro account ($9/month).
Con Expensive
SourceLair offers a free plan that allows you one private project. However if you want more projects, the Pro plan is fairly expensive at $8/month ($96/year).