Re: [dev] goblin (9base in Go)

From: Jeff Shipley <jeffquiparle_AT_gmail.com>
Date: Mon, 29 Mar 2010 12:03:49 -0600

On Mon, Mar 29, 2010 at 10:36 AM, Jeff Shipley <jeffquiparle_AT_gmail.com> wrote:
> On Mon, Mar 29, 2010 at 9:56 AM, Alexander Surma
> <alexander.surma_AT_googlemail.com> wrote:
>> How about improving the flags-package - or somewhat merging optparse
>> into flags (keeping the interface backwards-compatble).
>> I assume that would be greatly appreciated.
>>
>> Surma
>
> From what I've read/heard so far, this sort of a change might not be
> welcome in the flag package (which is designed to be simple). I have
> put out a feeler in the golang-nuts mailing list to see if it would be
> accepted. I was looking into it yesterday, and it seems like this sort
> of change would be quite simple. If this change gets put into the flag
> package, then I would gladly use the flag package for everything.
>

It looks like there would have to be a strong argument for this to be
added to the flag package, and I just can't come up with one, aside
from legacy support (which is a rather weak argument).

I've been thinking about it, and I'm actually inclined to simplify
grep (and eventually sed). It seems completely unnecessary to support
multiple -e arguments. The 9base man page doesn't say anything about
grep supporting multiple -e arguments, it simply states that -e makes
it easier to specify patterns that might confuse argument parsing.
Received on Mon Mar 29 2010 - 18:03:49 UTC

This archive was generated by hypermail 2.2.0 : Mon Mar 29 2010 - 18:12:03 UTC