From: Phlip Date: 2006-09-20T04:35:12+09:00 Subject: Re: => A newb question Dominic Son wrote: > why did matz choose to use '=>' to declare things instead of just making > them all '=' ? = is assignment. => is shorthand for building a map. So :symbol => 'element' is shorthand for {}[:symbol] = 'element', or something hard like that. So Matz again saved us a lot of typing. (I think Perl has this feature too, but we will still credit Matz here!) -- Phlip http://www.greencheese.us/ZeekLand <-- NOT a blog!!!