From: Jeff H. <je...@ac...> - 2009-08-05 16:59:19
|
On 04/08/2009 11:31 PM, Harald Oehlmann wrote: >> Note that if you do that, rename all the lower level APIs (_after_ >> branching) so that TWidget and BWidget can both be used in the same app. >> If that isn't necessary, then call it BWidget 2.0 and just force the >> issue. > > I would like to rename the package. I did not plan to enable the > possibility to load BWidget and TWidget simultaneously, so no renaming > of for example namespace "Widget". > > The name difference is to allow that both packages exist simultaneously. If you don't expect them to both be loaded simultaneously, then BWidget 1.9 and 2.0 are just fine. Especially if you don't rename the underlying namespaces. Both of those can be on the system, since Tcl supports that perfectly fine, it will just be a matter of the end user saying: package require BWidget 1|2 Now of course without the version number, it will find 2, but if that is actually widget-name-and-function compatible (theming issues aside), then that isn't an issue anyways. Jeff |