Vyacheslav Akhmechet <[email protected]> writes:
> On Tue, Feb 17, 2009 at 5:12 AM, Jan Rychter <[email protected]> wrote:
>> The above interface looks almost exactly like what I implemented, just
>> change the names.
> Err, on a second look, I guess you're right :)
>
> After sleeping on it for a few days, my only problem is the whole type
> thing. It just doesn't seem to fit and is pretty confusing at the
> beginning. If we passed an object instance instead of an arbitrary
> type argument, I think it would be a much more intuitive solution
> (small matter, I know).

I agree the naming sucks. I'm not happy about it myself. I can't even
remember the order of arguments to set-children-of-type sometimes.

But object instances are problematic -- because then you'd need to key
by class name or a hash of class instance, and I have widgets that store
children of two different kinds.

Perhaps set-children-of-kind sounds better?

> I think the rest of the navigation rewrite is a great design - it
> really smoothes out some rough corners.

Thanks, I'm glad you like it.

--J.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"weblocks" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/weblocks?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to