From: dblack@... Date: 2006-01-13T04:08:03+09:00 Subject: Re: Important Algorithm Finally Ported. Hi -- On Fri, 13 Jan 2006, Hampton wrote: > David, I'm sorry to say that there is no way to ever improve upon the > code I write. > > For, you see, I am the Savior of Ruby. Actually, I'm just kidding. I'm > really the King of Ruby. > > Well, I was trying to use the do and no () to make it as ruby-esque as > possible. But, I do like your use of find... so feel free to change it > on that wiki. There's nothing Ruby-esque about leaving off the parens, except when they're empty, at which point there is :-) Nor is do/end more Ruby-esque than {}. I specialize in nice-looking, short-but-readable code that runs really slowly :-) (I didn't benchmark the two versions but if mine's slower, it wouldn't be the first time.) David -- David A. Black dblack@wobblini.net "Ruby for Rails", from Manning Publications, coming April 2006! http://www.manning.com/books/black