From: voipfc@... Date: 2006-10-02T07:15:05+09:00 Subject: Re: Ruby's equivalent of PHP explode Marc Heiler wrote: > "Does it simply my_hash as an associative array?" > Hi > I think its better to call arrays arrays, and hashes hashes in Ruby. > Isn't a ruby hash the same what some other languages call an associative array? > I guess php simplifies this a bit too much for my taste, > with array() uniting both arrays and hashes. > > Hash.new is the same as {} in ruby, although the second is a > tiny bit faster as far as I know. > > nil means that something doesnt really exist, even an empty > '' string is not nil > > -- > Posted via http://www.ruby-forum.com/.