From: Arich Chanachai Date: 2004-09-14T12:59:54+09:00 Subject: Re: JRuby article Curt Hibbs wrote: > Gavin Sinclair wrote: > >>>JRuby article here. >>> >>> >> >>http://www-106.ibm.com/developerworks/java/library/j-alj09084/?ca= >>dgr-lnxw07JRubyIntro >> >>Thanks T. >> >>It's good to see articles like this. It's a shame that they all use such >>unidiomatic Ruby, like >> >> print "Hello, world!\n" >> >>instead of >> >> puts "Hello, world!" >> >>and 'if not' instead of 'unless'. Oh well... at least it's going to >>encourage me to try it out! > > > I think its because the authors are not really Rubyists. I didn't recognize > the names of the authors so I did some googling. For the first author, > Michael Squillace, I could not find any web references that included Ruby > except for this article. And it looks like the second author, Barry > Feigenbaum, has a penchant for scripting languages implemented in Java -- > he's also written articles on JPython and Groovy. > > But the having more press for Ruby is always good and who knows, maybe these > two authors will become smitten by Ruby from this experience! :-) > > Curt > > > Some people dislike this "many ways to do the same thing". I read the book which uses puts but then I found elsewhere that print did the same thing. Which was nice for me since I'm a Python native.