Screenshot instructions:
Windows
Mac
Red Hat Linux
Ubuntu
Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
From: <lm@bi...> - 2008-04-30 21:48:41
|
Me too. If someone wants to be pedantic then make it be package require -exact MySillyName and let people fix their scripts if they have mysillyname MYSILLYNAME MySillyName as three different packages. On Wed, Apr 30, 2008 at 05:46:06PM -0400, Hemang Lavana wrote: > 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@... > > 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@... > https://lists.sourceforge.net/lists/listinfo/tcl-core -- --- Larry McVoy lm at bitmover.com http://www.bitkeeper.com |