From: Will D. <wi...@wj...> - 2006-11-03 04:15:30
|
On Nov 2, 2006, at 5:25 PM, Robert Hicks wrote: > Neil Madden wrote: >> On 2 Nov 2006, at 23:12, Miguel Sofer wrote: >>> TIP #293: ARGUMENT EXPANSION WITH LEADING {*} >>> =============================================== >> >> Still digesting this, but one point leaps out at me: >> ... >>> 2. The usage of both *{expand}* and *{}* will be deprecated. >>> However, both idioms will remain enabled as alternatives. >> ... >> >> What does "remain enabled" mean in relation to {}? Does this TIP also >> enable {} as expansion syntax in the 8.5+ line? >> > > Oh yes, why would you do that? There should only be one idiom for > expand. You shouldn't leave alternatives in as that is just asking for > abuse. ActiveTcl 8.5 (though not, IIRC, the core Tcl builds) supports {} as an alternate syntax for {expand}. I remember Jeff Hobbs talking about it at the conference in '05. I believe the notion was (Warning! I might be making this up!) that we might eventually have several syntax escapes of the form {expand} or {this} or {that} or {<your word here>}, but that {expand} was likely to always be the most common, therefore if the word were left out, as in {}, it would be reasonable to let it default to {expand}. Me, I like {*} better. Will > > Robert > > > ---------------------------------------------------------------------- > --- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Tcl-Core mailing list > Tcl...@li... > https://lists.sourceforge.net/lists/listinfo/tcl-core ------------------------------------------------------------------ will -at- wjduquette.com | Catch our weblog, http://foothills.wjduquette.com/blog | The View from the Foothills |