Re: FINAL CALL

Andrew Kohlsmith <[email protected]> Thu, 3 Apr 2003 22:03:53 -0500
Newsgroups gmane.comp.java.xwt.general
Organization Benshaw Canada
Message-ID <[email protected]>
>   http://wiki.xwt.org/Wiki.jsp?page=PNGWA    (it's been updated)

> This sounds selfish, but please don't post other suggestions or
> proposals -- post explanations of why this one won't work.  If you
> can't come up with said explanation, then we're going with this
> proposal.

The example given in PNGWAExample raises an alarm with me.

"We have a directory called xwt.theme, that contains the template 
xwt.theme.button. This file contains a bare-bones, ugly, simple 
implementation of a button, as well as precise documentation on what traps 
should be supported by templates which are overlay()ed over 
xwt.theme.button."

Why is there any code in here at all?  This means that if anyone wants to 
theme, they are either going to be _copying_ the code here (so monop has a 
copy of most of the code here, gtk, simple, etc.) or writing their own 
implmentations.  This is nasty.

Why put code where it'll just be overlay()'d anyway?  Why practically condone 
copy and paste coding style?

Why not have xwt.theme contain nothing but documentation so that there is 
_zero_ code duplication, opting instead to put any theme code in 
xwt.theme.lib or .common or whatever?

Regards,
Andrew

_______________________________________________
http://lists.xwt.org/listinfo/dev