Re: problems with apps communicating with each other (was Re: What's TCL related to?)



In article <1132577690.512655.170240@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
slebetman@xxxxxxxxx says...
> Svenn Are Bjerkem wrote:
> > When, at a certain time, I look back, I see that several of these
> > scripts could be put together in one program and a kind of "design
> > environment" would be the result. Problem is that each single script use
> > Tk and I have hundreds of .b1 buttons and .l1 labels and I would have to
> > do a lot of work to get these things together.
> >
>
> To be fair, this is not a tcl problem is it? Using tk like that will
> give you the same problem no matter what language you use. You'll paint
> yourself into the same sort of corner if you'd have used perl/tk,
> python/tk, C + tk or even C++ and tk.

Yes, it is fair

>
> In fact, with C & C++ you'll also have the same problem even if you
> don't use tk but MFC or GTK or wxWindows etc. This is not a tcl
> specific problem so it is not fair at all to blame tcl.

If we want to be fair to each other, then I am no software developer
with years of experience in software design. The programs that I write
solve a problem that I have at the moment. I used perl until I
discovered Tcl/Tk when exposed to it through EDA tools from Cadence and
Synopsys where Tcl/Tk is used as the command language.

I have never programmed MFC, I installed openwatcom at home to see if I
could make a simple timekeeping app for work and gave up because it was
simply over my head. I have got used to the extremely fast problem
solving in tcl and C++ take too much time.

>
> I personally always wrap all GUI stuff in a proc. Mainly because I use
> a folding text editor so I can fold them away and not have to see them
> until I need to. But also because of the problems you are having
> integrating multiple small programs together.

I use code-browser on windows to do tcl scripts. On unix I am mostly
using nedit. I use eclipse to edit Java, C/C++, python and perl, not
because it is good, but because the environment is more or less the same
since months pass between each time I launch the editor to edit
something else but tcl. (Except for python, which I have recently picked
up because Cameron Laird thinks it is the best language for large
projects.)

Kind regards,
--
Svenn
.