[merge] LazyFactory

Aaron Bentley aaron.bentley at utoronto.ca
Tue Aug 15 20:05:55 BST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Adeodato Simó wrote:
> * Aaron Bentley [Tue, 15 Aug 2006 14:23:18 -0400]:

> (Er, this may came out in the wrong way. Of course, I meant "become
> acquainted with the optparse branch, think of a good implementation for
> `--foo-option enum` options, and check with Aaron whether he thinks it
> can be a good solution, or has already work in progress using some other
> way", not anything else. But this second version is way more verbose, so
> I'd like to save it up in the future unless really needed.)

Please feel free to say "I think *this* way would be better because...".
 But please don't just ignore what I've written and propose something
else.  I wrote that email to satisfy your concerns as well as John's,
since you wrote "I second this comment".

> Hm, I'm sorry but I must have missed that message (I'm afraid I can't
> read everything). Would you mind pointing me to it, and/or mention some
> of the highlights of your soulution?

http://thread.gmane.org/gmane.comp.version-control.bazaar-ng.general/15521/focus=15521

>>Your solution doesn't seem to address everything that mine does.
> 
> 
> Well, "my" solution does not exist, not even in my head. I've just
> mentioned a couple times I _believe_ it could be a good one to implement
> an Option subclass that would have a Registry as a backend.

I thought your were going to apply your Registry object more or less
directly.  I would like to keep the number of Option classes small, so I
don't think both should coexist.

> I know that having messages CCed at you with an "I think your stuff
> would be better done my way" message, over a long period of time may not
> be very likeable but hey, it's taking me time to get my stuff merged,
> okay? (Mostly because I'm new here and need quite a bit of review.)


> I don't know how advanced your solution is. If I'm too late, well, I
> guess that's ok. But it seems like I'll be able to look into this next
> time I put my hands on bzr code.

My solution isn't much farther along.  I've written some stuff I haven't
committed.  I got hung up trying to decide whether to introduce an
ordered dict class, or just stick with a list, since they'll never be
long enough for it to matter.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFE4hsT0F+nu1YWqI0RAoXXAJ0Y3X0RQHiOFHCdHQAUG7G0fmoUtACfQdIn
d2riswoB52s5HQ8PKX+oQrU=
=2A6f
-----END PGP SIGNATURE-----




More information about the bazaar mailing list