Re: [TCLCORE] Tcl-Core Digest, Vol 23, Issue 36
by Damon Courtney other posts by this author
Apr 30 2008 2:16PM messages near this date
Re: [TCLCORE] Tcl-Core Digest, Vol 23, Issue 36
|
Re: [TCLCORE] Tcl-Core Digest, Vol 23, Issue 36
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
Thread:
Keith Vetter
Donald G Porter
Donald G Porter
Jeff Hobbs
Damon Courtney
Hemang Lavana
Larry McVoy
|