RSS Feed
Download our iPhone app
Browse DevX
Sign up for e-mail newsletters from DevX


10 Minutes to Your First Ruby Application : Page 5

There's no better way to experience the elegance and power of Ruby than to fire up your code editor and start writing Ruby code. Create a small, useful Ruby application, and along the way, you'll learn what makes the language tick.

Clean, Expressive Code with Minimal Scaffolding
You now should have a better understanding of some of the features that make Ruby so special, namely:
  • Ruby is primarily an object-oriented language, where a key concept is objects responding to messages.
  • Ruby uses strong, dynamic typing, where the notion of "type" is based on what an object can do more than on a particular class name or inheritance hierarchy. An object's behavior is not confined to a literal mapping of messages to methods, and behavior may be constructed dynamically at run time.
  • Ruby classes are open; you are free to alter their behavior for what you deem appropriate for a given application.

This combination of open classes and dynamic behavior enables you to write clean, expressive code with a minimum of boilerplate scaffolding. Ruby gets out of the way and lets you get coding.

James Britt runs Neurogami, a Ruby consulting company in Scottsdale, AZ. When not coding Rails and Nitro applications for work, he's looking after Ruby-Doc.org and RubyStuff.com. Active in the Ruby community since 2001, he's written on Ruby for various publications, spoken at Ruby conferences in the USA and Europe, and coordinates the Phoenix Ruby Users Group. You can peer into his brain at his personal website, jamesbritt.com.
Email AuthorEmail Author
Close Icon
Thanks for your registration, follow us on our social networks to keep up-to-date