Re: Syntax, expressiveness and the beauty of Tcl
- From: Darren New <dnew@xxxxxxxxxx>
- Date: Mon, 30 Oct 2006 18:12:46 GMT
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."
"..."
.
- Follow-Ups:
- Re: Syntax, expressiveness and the beauty of Tcl
- From: Kaitzschu
- Re: Syntax, expressiveness and the beauty of Tcl
- References:
- Syntax, expressiveness and the beauty of Tcl
- From: Stephan Kuhagen
- Re: Syntax, expressiveness and the beauty of Tcl
- From: Christian Gollwitzer
- Syntax, expressiveness and the beauty of Tcl
- Prev by Date: Need some guidance -- starting with Tile 0.7.8 ...
- Next by Date: Re: strings in TcL
- Previous by thread: Re: Syntax, expressiveness and the beauty of Tcl
- Next by thread: Re: Syntax, expressiveness and the beauty of Tcl
- Index(es):
Relevant Pages
|