ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> tcl-core
tcl-core
Re: [TCLCORE] TIP 268 (take 4)
by Joe English other posts by this author
Jul 27 2006 7:28AM messages near this date
[TCLCORE] missing package troubleshooting | Re: [TCLCORE] TIP 268 (take 4)
Andreas Kupries wrote:
>  > [DGP wrote]:
>  > The proposed C routine
>  >    CONST84_RETURN char* Tcl_PkgRequire(Tcl_Interp *interp,
>  > 		CONST char *name, int objc, Tcl_Obj *CONST objv[]);
>  > has some problems, and perhaps some missed opportunities.
>  [...]
>  > Combine these observations, and I think a better proposed routine is:
>  >   int Tcl_PkgRequireCmd(Tcl_Interp *interp, CONST char *name, int objc,
>  > 		Tcl_Obj *CONST objv[], ClientData *clientDataPtr);
> 
>  With the exception of the name I can agree with the changes.
> 
>  Anybody else with an opinion on this ? Hemang ?

The new routine should definitely not be called Tcl_PkgRequire().
Whatever the benefits of the new interface might be, they're not
worth breaking source-compatibility.

On another note: I remain opposed to the [package prefer] mechanism.
The decision to use or not use "unstable" packages belongs to the end user,
not to applications (and certainly not to packages).  [package prefer] 
just adds another layer of complexity that will only make it harder 
for users to effect those decisions.


--Joe English

  jenglish@[...].com

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Tcl-Core mailing list
Tcl-Core@[...].net
https://lists.sourceforge.net/lists/listinfo/tcl-core
Thread:
Donald G Porter
Lars Hellström
dgp
Andreas Kupries
Lars Hellstrom
Joe English
Jeff Hobbs
Andreas Kupries
Donald G Porter
Andreas Kupries
Andreas Kupries
Andreas Kupries
Andreas Kupries
Andreas Kupries
Andreas Kupries
drh
Donald G Porter
Donal K. Fellows
Donal K. Fellows
Lars Hellstrom
Joe English
Hemang Lavana
Jeff Hobbs
Donald G Porter
Joe English
Andreas Kupries
Joe English
Andreas Kupries
Donald G Porter
Andreas Kupries
Donald G Porter
Hemang Lavana
Donald G Porter
Donald G Porter
Jeff Hobbs
dgp
dgp
Lars Hellström
Donal K. Fellows
Jeff Hobbs
dgp
Donald G Porter
Jeff Hobbs
Neil E Madden

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved