[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [patch] Use hash for optional args with long argument list in Ruby bindings

From: Kouhei Sutou <kou_at_cozmixng.org>
Date: 2007-11-16 13:00:32 CET

Hi,

In <ae6cb1100711151052g46aa3495vac702993069ec70b@mail.gmail.com>
  "Re: [patch] Use hash for optional args with long argument list in Ruby bindings" on Thu, 15 Nov 2007 10:52:51 -0800,
  "Joe Swatosh" <joe.swatosh@gmail.com> wrote:

> Now that I understand you were suggesting "required options" I'd like to
> suggest that there are a couple renamings that could make things more clear.
> And I think it would more difficult than necessary to maintain an
> OPTIONAL_**_KEYS Array and a local default_options Hash. The patch below

Using keys of default options is OK but I don't define
default options as constant. I want to generate default
options each time because we may change default options
destructively by mistake.

Thanks,

--
kou
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Nov 16 13:00:57 2007

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.