On Fri, 21 Dec 2001, John Weiss wrote:

> On Fri, Dec 14, 2001 at 11:34:30AM +0100, Lars Gullik Bj�nnes wrote:
> > Ben Stanley <[EMAIL PROTECTED]> writes:
> >
> > | When I did my extended error reporting modification to LyX, I added
> > | Inset Visitors. I found them to be very useful...
> >
> > Yes, we have discussed Vistors before (or I have), but then was not
> > the time to investige/try out that.
> >
> > | For those unfamiliar with the Visitor pattern, I strongly suggest you
> > | grab a copy of "Design Patterns", by Gamma et al. See page 331. Well
> > | worth the read... but, I'll attempt to summarise the properties of the
> > | pattern here.
> >
> > Or "Modern C++ Design, Alexandrescu"
>
> I just started perusing a copy of "Design Patterns," which is
> applicable to any OOP-language (not just C++).  I highly urge everyone
> on the GUIIndep. crew to read "Design Patterns" if they have never
> done so.

I have a major overhaul of the GUII hierarchy planned after reading
Alexandrescu's book.  I've spoken briefly to Angus about this
privately.  I want to draw up a proposed hierarchy to send to the list
so someone else will implement it ;-)  But that won't get sent (or
drawn) until we at least have a 1.2.0pre1 out.

It mainly involves rearranging the inheritance tree -- wider and
flatter instead of long and narrow.

BTW, I wasn't particularly excited by the "Design Patterns" approach
to GUI independence.  It seemed to be more of a wrapper library like
wxWindows etc. wrapping at the level of individual widgets -- our
independence layer is at the dialog level instead (making more of the
underlying toolkit available to porters).  We discussed such a
low-level scheme early in GUII development (proposals #1 and #2 --
different implementations).

> Scott Meyers also has "Effective STL" out.  I also own a book called
> "Efficient C++."  If anyone's interested, let me know and I'll give
> the full details.

Tell me about "Effective STL."

Allan. (ARRae)

Reply via email to