InfoQ

InfoQ

News

My Bookmarks

Login or Register to enable bookmarks for unlimited time.

The content has been bookmarked!

There was an error bookmarking this content! Please retry.

Presentation: The Beauty of Ruby

Posted by Floyd Marinescu on Jul 05, 2007

Sections
Development,
Architecture & Design
Topics
Ruby ,
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!"
Other dynamic languages by Carl Gundel Posted
Presentation Slides by Tamer Salama Posted
Good Presentation by Satish Talim Posted
trying to watch by lee h Posted
Re: trying to watch by Larry Diehl Posted
Re: trying to watch by lee h Posted
Talk was incorrect regarding arrays of regexp objects in perl by Josh ben Jore Posted
Don't talk about Perl if you don't know it by brian d foy Posted
Ruby presentation by Jure Srsen Posted
  1. Back to top

    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.

  2. Back to top

    Presentation Slides

    by Tamer Salama

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

  3. Back to top

    Good Presentation

    by Satish Talim

    I liked the presentation.

  4. Back to top

    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?

  5. Back to top

    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?

  6. Back to top

    Re: trying to watch

    by lee h

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

  7. Back to top

    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.

  8. Back to top

    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 :)

  9. Back to top

    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

Educational Content

10 tips on how to prevent business value risk

One category of risk that project teams need to ensure they address is business value failure – delivering a product that fails to provide value for the business investor.

Interview: Software Systems Architecture: Working With Stakeholders Using Viewpoints and Perspectives

InfoQ spoke to the authors of Software Systems Architecture on a couple of new topics, the System Context viewpoint and Agile, which have been added to the second edition.

Beauty Is in the Eye of the Beholder

Alex Papadimoulis discusses ugly code, where it comes from, how to avoid it, and how to get rid of it.

Architecting Visa for Massive Scale and Continuous Innovation

John Davies examines Visa’s architecture and shows how enterprises have architected complex integrations incorporating Hadoop, memcached, Ruby on Rails, and others to deliver innovative solutions.

Max Protect: Scalability and Caching at ESPN.com

Sean Comerford unveils ESPN.com’s architecture, what components are used and why, and the current changes the website goes through.

The Seven Deadly Sins of Enterprise Agile Adoption

Are there repeated patterns of failure on Enterprise Agile Enablement efforts? Sanjiv and Arlen discuss Seven Deadly Sins to avoid when adopting Agile in an enterprise.

Questions for an Enterprise Architect

Erik Dörnenburg answers: What is Enterprise and Evolutionary Architecture?, discussing 4 issues: Turning strategy into execution, Ensuring conformance, Where do the architects sit? Buying or building?

Wrap Your SQL Head Around Riak MapReduce

Sean Cribbs explains what Map-Reduce and Riak are, why and how to use Map-Reduce with Riak, and how to convert SQL queries into their Map-Reduce equivalents.