From: djberg96@... (Daniel Berger) Date: 2001-10-27T04:53:55+09:00 Subject: [ruby-talk:23507] Re: O'Reilly site has "An Introduction to Ruby" article Robert Feldt wrote in message news:... > On Fri, 26 Oct 2001, James Britt (rubydev) wrote: > > > Just saw that the O'Reilly site has "An Introduction to Ruby" article: > > http://linux.oreillynet.com/pub/a/linux/2001/10/25/ruby.html > > > Nice but some minor issues with the article: > > "In Python, methods are objects, which they aren't in Ruby" seems wrong > given class Method etc, and > > I find "Python supports multiple inheritance, which Ruby does not." a bit > simplistic since mix-in with modules is not mentioned. > > NOTE to Colin and others: I'm not "flaming". Its a good intro. > > Personally I don't like the "Ruby as better Perl" idea (I'd rather not > have the cryptic $_ etc) but maybe its the way to go to win people > over. I'm not sure. > > > You can also get a beta chapter from Ruby in a Nutshell, "Standard Library Reference": > > http://www.oreilly.com/catalog/ruby/chapter/ch04.html > > > Thanks for the links, > > Robert As a long-time Perl programmer, such things as $_ are a nice thing to have to ease Perl programmers into the language. In practice, for me at least, I think you'll see very little of stuff like $_ once old perl hackers get the hang of blocks and closures and the built-in methods in general. Even in the many small and medium scripts that I write, I'm able to avoid using the dollar sign, except for the occasional global. I'm already starting to do all my scripting in Ruby only, except in circumstances where Perl has something just too sweet to pass up (Net::SSH::Perl and the Spreadsheet modules come to mind). But as time passes, the Ruby community will grow and the RAA will rival CPAN. In general I'm very happy with this article. I took a look at Perl 6 and said to myself, "Why? Ruby already does what Perl 6 is trying to do". I suspect others may do the same once they see this. The big question for me now is, what am I gonna do with all these perl books? Ideas anyone? Regards, Mr. Sunblade