I taught myself Ruby a couple of weeks ago, and I’ve been working on a project based on Ruby on Rails. I guess I’ve had enough time to think about it to coherently describe what I think of it.
Overall, Ruby is a good language, and I’m glad I learned it.
I’ve known Python for a while, and both Python and Ruby allow some very strange things to be done: Python allows me to attach anything to an object, even functions, and Ruby lets me reopen a class at any point. Fine.
There are certain subtle differences between Ruby and Python that I have to get over. Case in point: in Python, any python file is automatically a separate module. In Ruby, a Module can occur over several files, but loading a file brings all of its stuff into the same name space. This tripped me up at first.
I really like blocks. They are cool.
Ruby on Rails is useful, and ActiveRecord made my life much easier in working on the previously mentioned project.
Maybe my thoughts on this are not so coherent.
This entry was posted on Monday, July 7th, 2008 at 6:02 pm and is filed under Uncategorized. You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.