3 Replies - 11384 Views - Last Post: 15 January 2013 - 04:55 PM Rate Topic: -----

#1 macosxnerd101  Icon User is online

  • Self-Trained Economist
  • member icon




Reputation: 10565
  • View blog
  • Posts: 39,103
  • Joined: 27-December 08

[Link] A Look at Ruby 2.0

Post icon  Posted 15 January 2013 - 12:08 AM

Quote

With Ruby 2.0 set to be released on February 24th, exactly on the 20th anniversary of Ruby’s first debut, I decided to write this article to give you a quick rundown of some of the most interesting changes. And if you would like to experiment with this version before the official release, you can do so by following the instructions in this article.
...

The changes introduced in 2.0 are pretty extensive, but in this article I will be focusing mainly on the following:

Refinements
Keyword Arguments
Module#prepend
Enumerable#lazy
Language Changes


http://rubysource.co...ok-at-ruby-2-0/

Is This A Good Question/Topic? 1
  • +

Replies To: [Link] A Look at Ruby 2.0

#2 xclite  Icon User is offline

  • LIKE A BOSS
  • member icon


Reputation: 905
  • View blog
  • Posts: 3,170
  • Joined: 12-May 09

Re: [Link] A Look at Ruby 2.0

Posted 15 January 2013 - 11:13 AM

Lazy enumerable is nice. Keyword arguments are ok, though I rarely use them or just pass around a hash. Nice to get rid of the hash :)
Was This Post Helpful? 0
  • +
  • -

#3 Sergio Tapia  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 1253
  • View blog
  • Posts: 4,168
  • Joined: 27-January 10

Re: [Link] A Look at Ruby 2.0

Posted 15 January 2013 - 12:10 PM

I kind of like the hash... it's committed to muscle memory at this point for me.
Was This Post Helpful? 0
  • +
  • -

#4 Lemur  Icon User is offline

  • Pragmatism over Dogma
  • member icon


Reputation: 1368
  • View blog
  • Posts: 3,445
  • Joined: 28-November 09

Re: [Link] A Look at Ruby 2.0

Posted 15 January 2013 - 04:55 PM

Hash is a habit by now, but I'll have to check into this more. Hopefully it has graceful degradation and compatability for enterprise editions and the like.

Can't say I knew the date on this one though
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1