Named params for Perl bindings
From: Nik Clayton <nik_at_ngo.org.uk>
Date: 2006-07-20 11:53:51 CEST
Assuming I get the time to do the work, would anyone be interested in
This would mean that as well as being able to write code like:
$ra->get_log([$paths], $rev, 1, 20, 0, 0, sub { ... });
which is a bit obtuse (quick, without access to the docs, which of those '0'
$ra->get_log({ paths => [ $paths ],
Although it's more verbose, it's much more maintainable.
Technically, this would involve any function that takes greater than 'n'
I expect (but have not yet checked) that this could probably be automated.
Any suggestions as to what an appropriate value for 'n' might be? I suspect
Just to stress -- this wouldn't remove the existing calling conventions.
Thoughts?
Also, having just spent 20 minutes chasing around the maze of files in
N
---------------------------------------------------------------------
|
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.