From: Chad Perrin Date: 2007-03-20T03:19:41+09:00 Subject: Re: PLEAC - Programming Language Examples Alike Cookbook On Mon, Mar 19, 2007 at 10:10:05PM +0900, Rick DeNatale wrote: > On 3/19/07, David A. Black wrote: > >Hi -- > > > >On 3/19/07, John Joyce wrote: > >> For some basic structures, this is not a bad idea, but unfortunately > >> for many things Ruby code and approach is often pretty different from > >> similar programs in other languages. > > > >Moreover, unless the PLEAC philosophy has changed, my impression was > >that they were interested mainly in how to do things in a Perl-like > >way in other languages. I seem to remember suggesting a rewrite of > >one of the Ruby examples to use a block, or something along those > >lines, and being told that they weren't aiming to illustrate the > >individual features of separate languages. To the extent, great or > >small, that PLEAC is constrained to play in Perl's ballpark in terms > >of constructs and idioms, I don't think it's of much interest. I > >haven't examined it in great detail recently, though. > > Hmmmmm, > > Might be interesting to come up with a similar set of examples which > highlight the ruby way of doing things and then challenge others to > replicate the ruby code in other languages. > > Just a thought. . . . or just check again on whether they'll accept Ruby examples that illustrate a Ruby idiom -- assuming the answer is still "no", archive the answer, then: 1. Create a site dedicated to solving the same problems in the Ruby idiom within Ruby. 2. Post the text of the "no" answer on the site. 3. Consider letting other languages play without forcing them to adhere to your own language's idiomatic methodologies. If the answer is now "yes", just contribute to PLEAC. -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] "There comes a time in the history of any project when it becomes necessary to shoot the engineers and begin production." - MacUser, November 1990