scsh-users
[Top] [All Lists]

Re: Ousterhout and Tcl lost the plot with latest paper

To: scsh@martigny.ai.mit.edu
Subject: Re: Ousterhout and Tcl lost the plot with latest paper
From: fellowsd@cs.man.ac.uk (Donal K. Fellows)
Date: 7 Apr 1997 14:55:46 GMT
Organization: Dept of Computer Science, University of Manchester, U.K.
In article <E88Ir4.EK4@undergrad.math.uwaterloo.ca>,
Paul Prescod <papresco@csclub.uwaterloo.ca> wrote:
[ JO's simple button example elided ]
> Easier to use for people who are not knowledgable about the language? Yes.
> Easier to use for people who are? No. The latter is certainly no harder
> for a MCL programmer than the former is for a TCL programmer. It will also
> be easier to maintain, for all of the usual reasons.

OK, let's raise the stakes a little.  :^)

  toplevel .t
  button .t.b -text Hi! -font {Times 16} -command {puts "Pressed at (%x,%y)"}
  pack .t.b -fill both -expand 1

The button now appears in a separate window to the main application
window, and reports where it was pressed.  When this window is
resized, the button will occupy any extra space allocated.  How much
extra Lisp would be needed to achieve this?

Unless you can do this in very few lines, the point about Tcl being
better for some things would seem to be made amply to me.

But then, I wouldn't write an AI system or theorem prover in Tcl
(though I might embed it within Tcl so I could integrate it with other
preexisting code... :^)

Donal.
--
Donal K. Fellows   http://r8h.cs.man.ac.uk:8000/  (SAY NO TO COMMERCIAL SPAMS!)
(work) fellowsd@cs.man.ac.uk     Dept. Comp. Sci, Univ. Manchester, U.K.
 |     donal@ugglan.demon.co.uk  6,Randall Place, Heaton, Bradford, U.K. (home)
 +-> ++44-161-275-6137  Send correspondence to my office  ++44-1274-401017 <-+

<Prev in Thread] Current Thread [Next in Thread>