home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.scheme
- Path: sparky!uunet!spool.mu.edu!uwm.edu!psuvax1!schwartz
- From: schwartz@roke.cs.psu.edu (Scott Schwartz)
- Subject: Re: Scheme or TCL?
- In-Reply-To: todd@palomar.tivoli.com's message of 3 Sep 92 08:10:11 GMT
- Message-ID: <Bu4LMv.JDK@cs.psu.edu>
- Sender: news@cs.psu.edu (Usenet)
- Nntp-Posting-Host: roke.cs.psu.edu
- References: <TODD.92Sep3171011@palomar.tivoli.com>
- Distribution: comp
- Date: Sat, 5 Sep 1992 23:11:05 GMT
- Lines: 17
-
- todd@palomar.tivoli.com writes:
- Are there any concrete points that can be raised in favor of Scheme
- over TCL (or vice versa)?
-
- I've been using tcl/tk for a while. One thing that I miss in tcl
- that scheme has is real-live first class functions. A common
- idiom in tk is to say something like
- .button -label "foo" -command "some_tcl_string_to_eval"
- Sometimes you'd prefer to hand a closure to -command instead.
-
- A second issue is that tcl's "lists" are really strings, and their
- semantics don't match those of real lisp style lists. This can be
- confusing, and has caused a few bugs (both performance bugs and logic
- bugs) in our code.
-
- Of course, when you tell this to your colleagues they will probably
- point out that even a scheme fan like me is using tcl/tk. :-)
-