BT

Presentation: The Beauty of Ruby

| by Floyd Marinescu Follow 35 Followers on Jul 05, 2007. Estimated reading time: less than one minute |
As Edd Dumbill wrote, "the subtle elegance of the Ruby idiom is a slowly appreciated and highly satisfying flavour." It's true that some of the best things about Ruby aren't obvious to newcomers. In this talk Glenn Vanderburg demonstrates some of the subtle beauty that experienced Rubyists know and love.

Watch The Beauty of Ruby (54 min)

The beauty points Glenn looks at are:
  • Blocks
  • Rich Yet Flexible Syntax
  • Mixins
  • Lisp-Y-ness
  • Generalized Matching & Ruby's powerful case statement
  • Classes and objects are "open" can be modified at runtime
  • Metaprogramming features
Finally, looking at tradeoffs in the language's design, Glenn concludes that "We Rubyists lose some things due to Matz’ choices., but what we gain seems to make up for it. - Thanks Matz!"

Rate this Article

Adoption Stage
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Other dynamic languages by Carl Gundel

Ruby is a great language. Rubyist should definitely not ignore some even more elegant languages like Smalltalk and LISP.

Presentation Slides by Tamer Salama

Great presentation. Any chance slides would be available for download?

Good Presentation by Satish Talim

I liked the presentation.

trying to watch by lee h

I would love to watch this, but with low bandwidth the buffering every ~5 secs is killing me...and would take WAY too long to get through it...I would love to be able to download it...any thoughts?

Re: trying to watch by Larry Diehl

Here's a textual summary =)

larrytheliquid.com/2007/07/28/ruby-elegance-nua...

I would love to watch this, but with low bandwidth the buffering every ~5 secs is killing me...and would take WAY too long to get through it...I would love to be able to download it...any thoughts?

Re: trying to watch by lee h

thanks for the link!....though I still would love to see the full video

Talk was incorrect regarding arrays of regexp objects in perl by Josh ben Jore

Perl has had a regexp object since 5.6 was released in 2000. I don't know of any operating systems that still ship with an older version. The speaker should have done his homework on this before spending what seemed like five minutes larking about how this feature was lacking.

We've had this seven years now. Please catch up.

Don't talk about Perl if you don't know it by brian d foy

Ruby is certainly a nice language and I like it. However, you shouldn't
use your ignornace if Perl to support Ruby:

* Perl sigils do not denote type: they denote context. $scalar is a
scalar, but $array[0] works with an array, and $hash{foo} works with a
hash. @array[0,1] works with an array, but @hash{'foo', 'bar'}. It's
not type, what you're doing with it. You can read more about that in
Learning Perl.

* Perl regular expressions aren't operators: the match operator, m//, is an
operator, but that's not the thing that's the pattern. The stuff
inside the match operator is the pattern, but the pattern is not the
match operator. You can create a regular expression without the match
operator with the qr() quoting mechanism.

You'll eventually find that Ruby, if it gets as popular as Perl, will be treated as poorly as Perl as newbies learn by hit-and-miss. Newbies will invent their own systems to explain the portions of Ruby that they know and that they think they understand. Just wait :)

Ruby presentation by Jure Srsen

Tnx!
I really like to learn from these Ruby presentations since I am unable to be at the conferences for now.

Jure
www.scarlet-studio.net

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

9 Discuss

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and don't miss out on content that matters to you

BT