Re: Syntax, expressiveness and the beauty of Tcl



Christian Gollwitzer wrote:
I also dislike expr in Tcl, if one has to do lots of math. Especially that in 99% cases one needs to use additional braces.

I personally find it most annoying when doing some sorts of parsing, where I have something like

set x [string range $y [expr {$z-1}] [expr {$z+1}]]
instead of something like
set x [string range $y z-1 z+1]

I.e., personally I miss the ability to use the same sort of constant offsets you can apply to "end" on the other indecies. But that's just a personal peeve. :-)

--
Darren New / San Diego, CA, USA (PST)
"That's pretty. Where is it?"
"Channelwood."
"We should go there on vacation."
"..."
.



Relevant Pages

  • Re: [SBL 06/07] - Week 1 odds
    ... get it to cope with all sorts of weirdness. ... Can you let me know how you are doing the parsing. ...
    (uk.sport.football)
  • Re: missing out braces
    ... braces. ... C# is unnecessarily picky in all sorts of areas (e.g. forbidding the use of ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Syntax, expressiveness and the beauty of Tcl
    ... that in 99% cases one needs to use additional braces. ... I personally find it most annoying when doing some sorts of parsing, ... personal peeve. ...
    (comp.lang.tcl)
  • Re: [SBL 06/07] - Week 1 odds
    ... get it to cope with all sorts of weirdness. ... Can you let me know how you are doing the parsing. ...
    (uk.sport.football)
  • Re: [SBL 06/07] - Week 1 odds
    ... get it to cope with all sorts of weirdness. ... Can you let me know how you are doing the parsing. ...
    (uk.sport.football)