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

Re: Which option parser? (was Re: cmd line stuff)

From: Jim Blandy <jimb_at_savonarola.red-bean.com>
Date: 2000-10-23 22:01:44 CEST

Matthew Braithwaite wrote:
> Now, Bruce says that Autoopt can easily be bundled into other
> software. If there is no impediment to putting it in the SVN
> distribution, as opposed to requiring it as an external library, I
> have no worries about using it.

There's also the barrier-to-entry cost of every "tool": people have to
learn it before they can hack on our code. For example, autoconf /
automake / libtool make our build process harder to hack.

To me, it seems easy enough to do a good job of argument parsing in
straight C code, or using apr_getopt{,_long}, that the "tool" cost ---
even of a good tool --- probably isn't worth it.

Bruce is right that people are often sloppy, but I see folks putting a
good amount of thought into the design, so I don't think that'll be an
issue here.
Received on Sat Oct 21 14:36:12 2006

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