Re: PATCH: Bug 186
David Crawshaw <[email protected]>
| Newsgroups | gmane.comp.java.xwt.general |
|---|---|
| Message-ID | <[email protected]> |
On Thursday, March 27, 2003, at 11:39 PM, Charles Goodwin wrote: >> So it becomes an exception. Sorry, I don't like exceptions, especially >> when they're unnecessary. > > It's necessary. > > How else can you provide a reasonable syntax that accomplishes the > following > shape with the funcionality of a complex widget like scrollpane: Um, what's wrong with: $scrollpane.north = myBoxNorth; $scrollpane.south = myBoxSouth; ? Yes, it's a box reassignment. But it's done *actively* by the developer. Hell, myBoxNorth = xwt.newBox(). There's no reassignment there. The other model forces box reassignment and opens up debug issues. It becomes the single exception from all the other ones. I don't see what the problem is. The approaches are almost exactly the same, only one breaks the overlying rule, the other doesn't. d _______________________________________________ http://lists.xwt.org/listinfo/dev