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] Tcl-Core Digest, Vol 23, Issue 36
by Hemang Lavana other posts by this author
Apr 30 2008 2:46PM messages near this date
Re: [TCLCORE] Tcl-Core Digest, Vol 23, Issue 36 | Re: [TCLCORE] Tcl-Core Digest, Vol 23, Issue 36
Hi,

We have been bit by this issue (for our internal customers) several 
times and continue to do so even today. We have even started creating 
dummy packages so that both "foo" and "Foo" pkg names work. I would 
really like to see the [package require <name> ] be case-insensitive.

I hope there won't be any objections if a TIP is proposed for such a 
change, especially since loading of TM files do not allow case-sensitive 
pkg names (see TIP 189).

Hemang.
Damon Courtney wrote:
>  On Apr 30, 2008, at 4:10 PM, Jeff Hobbs wrote:
> 
>    
> > Donald G Porter wrote:
> >     
> >> Keith Vetter wrote:
> >>       
> >>> Case sensitivily is a nightmare which doesn't benefit anyone.
> >>>         
> >> ...and yet a whole world of package authors still will not adopt the
> >> obvious solution of naming their packages with exclusively lowercase
> >> characters.  Go figure.
> >>       
> > FWIW, the Tcl style guide recommends camel-casing for package  
> > names.  Of
> > course, many of the popular packages that have unpredictable casing
> > existed before that was written (for the 8.0 timeframe).
> >     
> 
>       So, just make the package commands do everything case- 
>  insensitive.  Do you really think anyone trying to do:
> 
>  package require bwidget
> 
>  doesn't mean
> 
>  package require BWidget
> 
>  ??
> 
>       Just make the whole damn thing case-insensitive.  Screw the  
>  package authors.  You can even let "package names" return the name the  
>  author specifies without manipulation if they cry about it, but let  
>  the rest of the package commands not care.  Even as a package author  
>  I've been bitten by this stupidity too many times to count.
> 
>  "Was it Tile or tile?  TreeCtrl or treectrl?  Bwidget, BWidget or  
>  bwidget?" ... open console and try names 'til I get it right.  What a  
>  load.
> 
>  D
> 
>  -------------------------------------------------------------------------
>  This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
>  Don't miss this year's exciting event. There's still time to save $100. 
>  Use priority code J8TL2D2. 
>  http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
>  _______________________________________________
>  Tcl-Core mailing list
>  Tcl-Core@[...].net
>  https://lists.sourceforge.net/lists/listinfo/tcl-core
>    


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Tcl-Core mailing list
Tcl-Core@[...].net
https://lists.sourceforge.net/lists/listinfo/tcl-core
Thread:
Keith Vetter
Donald G Porter
Donald G Porter
Jeff Hobbs
Damon Courtney
Hemang Lavana
Larry McVoy

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