From: Michael Campbell Date: 2002-07-08T04:26:25+09:00 Subject: Re: is there a better string.each? > > Someone else mentioned earlier what's been bugging me about this; > > although you may like to think of strings as arrays, the array > bit is > > just an implementation choice. The thing is not necessarily its > > implementation. > > Yes, quite right. A linked list is also an > ordered collection of items. Yet we wouldn't > say that a string "is a" linked list. Precisely; no more than I would say a String "is a"[n] Array. A string is a string. If, in ruby, we want to implement it as an array, fair enough. ===== -- Use your computer to help find a cure for cancer: http://members.ud.com/projects/cancer/ Yahoo IM: michael_s_campbell __________________________________________________ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com