The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
Learning? Read Split-s.

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Red Handed

Posts: 1158
Nickname: redhanded
Registered: Dec, 2004

Red Handed is a Ruby-focused group blog.
Learning? Read Split-s. Posted: Feb 2, 2005 8:57 AM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by Red Handed.
Original Post: Learning? Read Split-s.
Feed Title: RedHanded
Feed URL: http://redhanded.hobix.com/index.xml
Feed Description: sneaking Ruby through the system
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Red Handed
Latest Posts From RedHanded

Advertisement

Split-s, a nice blog for getting down some basic Ruby concepts. The code here on RedHanded can be pretty heavy handed sometimes—I’m completely out of touch with each of your pressing needs—so I’ll defer to split-s when it comes to topics such as conditional initialization. Which culminates in an explanation of this snip:

 def addToList(key, value)
   (@map[key] ||= []) << value
 end

Martin also codes in Java—expect some comparisons. If you lack know-how on duck typing, take a gander at yesterday’s Quack, Quack.

Read: Learning? Read Split-s.

Topic: Syndication and TaDa Previous Topic   Next Topic Topic: Dog Claims to be Ruby

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use