I don't know how many people are switching from Python to Ruby these days, but I've learned a bit and thought it would be helpful to a few people if I cross-referenced my Python knowledge to my (growing) Ruby knowledge. I got this idea from James on the OK.rb mailing list.

Part One will focus on where to find what in the Ruby community. With any programming language or framework, you have a set of resources you go to often to find what you're looking for. I had a list of Python-related bookmarks I frequented; now I have a list of bookmarks for Ruby stuff.

One disclaimer: this is not a comprehensive list or comparison. It is just a representation of my Python world cross-referenced with my Ruby world.

Language Reference

Standard Library: Python - Ruby
Built-in Classes: Python - Ruby

Interacting

Shell: python - irb

File Extensions

Standard: .py - .rb
Console-less: .pyw - .rbw
Compiled/Bytecode: .pyc, .pyo - none

Web Frameworks

Beastly: Zope - none
MVC: Django, TurboGears - Ruby on Rails
Lite: Quixote, CherryPy - Camping

Content Management Systems

Plone - Radiant

Object-Relational Mapping

SQLObject - ActiveRecord

In the spirit of Release Early - Release Often, I'm posting this in the hopes I will think of stuff to add to it later.

Post a Comment

*
*