InfoQ

News

Presentation: The Beauty of Ruby

Posted by Floyd Marinescu on Jul 05, 2007 06:06 AM

Community
Ruby
Topics
Programming
Tags
Language Features
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!"

9 comments

Reply

Other dynamic languages by Carl Gundel Posted Jul 11, 2007 10:25 AM
Presentation Slides by Tamer Salama Posted Jul 13, 2007 1:11 PM
Good Presentation by Satish Talim Posted Jul 23, 2007 10:27 PM
trying to watch by lee h Posted Jul 26, 2007 10:02 PM
Re: trying to watch by Larry Diehl Posted Jul 27, 2007 10:41 PM
Re: trying to watch by lee h Posted Aug 4, 2007 8:39 PM
Talk was incorrect regarding arrays of regexp objects in perl by Josh ben Jore Posted Aug 7, 2007 12:43 PM
Don't talk about Perl if you don't know it by brian d foy Posted Aug 14, 2007 4:42 PM
Ruby presentation by Jure Srsen Posted Feb 7, 2008 1:21 PM
  1. Back to top

    Other dynamic languages

    Jul 11, 2007 10:25 AM by Carl Gundel

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

  2. Back to top

    Presentation Slides

    Jul 13, 2007 1:11 PM by Tamer Salama

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

  3. Back to top

    Good Presentation

    Jul 23, 2007 10:27 PM by Satish Talim

    I liked the presentation.

  4. Back to top

    trying to watch

    Jul 26, 2007 10:02 PM 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?

  5. Back to top

    Re: trying to watch

    Jul 27, 2007 10:41 PM by Larry Diehl

    Here's a textual summary =) http://larrytheliquid.com/2007/07/28/ruby-elegance-nuances/

    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?

  6. Back to top

    Re: trying to watch

    Aug 4, 2007 8:39 PM by lee h

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

  7. 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.

  8. Back to top

    Don't talk about Perl if you don't know it

    Aug 14, 2007 4:42 PM 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 :)

  9. Back to top

    Ruby presentation

    Feb 7, 2008 1:21 PM 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 http://www.scarlet-studio.net

Exclusive Content

10 Ways to Screw Up with Scrum and XP

Henrik Kniberg talks about 10 possible reasons to fail while doing Scrum and XP. Maybe the team does not have a definition of what Done means to them, or they don't know what their velocity is.

Tips from a Top Sports Team Coach

This article outlines 9 principles Marc Lammers discovered while building the world’s best field hockey team, mapping them to software development practices.

SOA Governance: An Enterprise View

Michael Poulin explains the necessity for SOA governance to ensure an Enterprise SOA's success, relying on concepts from the OASIS SOA Reference Model and Reference Architecture.

Developing Portlets using JSF, Ajax, and Seam (Part 2 of 3)

This article covers setting up a RichFaces portlet using JBoss Portlet Container and JBoss Portlet Bridge, deploying a RichFaces portlet, and RichFaces capabilities.

Scalability Worst Practices

This article discusses scalability worst pratices including The Golden Hammer, Resource Abuse, Big Ball of Mud, Dependency Management, Timeouts, Hero Pattern, Not Automating, and Monitoring.

Do the Hustle

Obie Fernandez shares his experience selling consulting services for both Thoughtworks and Hashrocket and give tips how Ruby developers can work with clients.

Natural Laws of Software Development - Deriving Agile Practices

Jeffries and Hendrickson derive Agile practices from the natural laws of software development. They don't just say "Be Agile!", but they explain why Agile practices make perfect sense.

Jinesh Varia About Amazon Alexa Web Service's Architecture

Jinesh Varia talks about the architecture of one of Amazon's web services called Alexa. Jinesh explains how Amazon has reached scalability, performance and reduced costs for the Alexa service.