Re: tcl talked badly (and high on reddit)
- From: schlenk <schlenk@xxxxxxxxxxxxxxxx>
- Date: Tue, 19 Feb 2008 05:42:11 -0800 (PST)
Andreas Leitgeb wrote:
Twylite <twylite.crypt@xxxxxxxxx> wrote:
Polish notation is supported in 8.5 (e.g. [/ $width 2] ) and neatly
deals with most of the verbosity complains that target expr{}.
It is not "out of the box", though.
One first needs to import stuff from tcl::mathop (and/or tcl::mathfunc).
namespace import ::tcl::mathop::*
Thats a bogus argument basically. In other languages you need to do
the same or similar things all over the place, e.g. #include <stdio.h>
in C or import operators in python.
Keeping the global namespace clean is a good thing in general and the
namespace import might add to some boilerplate right below you
'package requires' but thats it...
And if you don't agree, just build your own init.tcl that does the
namespace import for you and customize your installation...
Michael
.
- Follow-Ups:
- Re: tcl talked badly (and high on reddit)
- From: Andreas Leitgeb
- Re: tcl talked badly (and high on reddit)
- References:
- tcl talked badly (and high on reddit)
- From: jima
- Re: tcl talked badly (and high on reddit)
- From: suchenwi
- Re: tcl talked badly (and high on reddit)
- From: Christian Gollwitzer
- Re: tcl talked badly (and high on reddit)
- From: Twylite
- Re: tcl talked badly (and high on reddit)
- From: Andreas Leitgeb
- tcl talked badly (and high on reddit)
- Prev by Date: Re: switch regression (was Re: Tcl Switch case)
- Next by Date: Re: 8.5, teacup & tkcon...
- Previous by thread: Re: tcl talked badly (and high on reddit)
- Next by thread: Re: tcl talked badly (and high on reddit)
- Index(es):
Relevant Pages
|