Re: Can't coerce to string
Charles Goodwin <[email protected]> Wed, 17 Mar 2004 17:03:32 +0000
| Newsgroups | gmane.comp.java.xwt.core |
|---|---|
| Organization | XWT Foundation |
| Message-ID | <[email protected]> |
On Wed, 2004-03-17 at 08:13, Adam Megacz wrote: > That's my point. It will get used without people looking at it. Hmm that could be said about anything though. I think we just need to: throw a "warning: Box coerced to string" without actually stopping, and make the Box/Object.toString method return "Box"/"Object". Since then Box.toString is always the same, it's going to be rare that people will be able to use it successfully enough to put it in an application without problems. And we also need to encourage the usage of the core in debug mode so that warnings are always shown during development. -- - Charlie Charles Goodwin <[email protected]> Online @ http://www.charlietech.com