Useful snippets of Ruby code.
Ruby is designed for language construction. But the language you create isn’t limited to the features you think to build in. Instead, any language you build is an extension of Ruby — so all of Ruby remains at your disposal. Much of Ruby’s power comes from its totally dynamic nature. It’s expressiveness comes from its convenient syntax for the kind of code you generally need to write. As with any powerful tool, there are risks and complexities. But those issues can be managed. When you do, Ruby’s value proposition is undeniable.
A Guide for the Practicing Programmer
If you’re not already coding in Ruby, you may wonder how to get started — especially when it comes to the more “interesting” language features like closures and evaluations. This article provides some tips for ramping up, along with links to Amazon books. (If you’re not sure whether Ruby is the language for you, read