comp.lang.tcl
[Top] [All Lists]

Re: merging variables and arrays ... conflicting with cloverfield?

Subject: Re: merging variables and arrays ... conflicting with cloverfield?
From: Andreas Leitgeb
Date: 30 May 2008 13:00:35 GMT
Newsgroups: comp.lang.tcl

Uwe Klein <uwe_klein_habertwedt@xxxxxxxxxxx> wrote:
> Andreas Leitgeb wrote:
>> Syntactically mixing arrays and dicts is a worse idea, imho,
>> than range-syntax for lists.  lists don't have a container-
>> pendant, so it would cause less of a confusion.
> In JIM an array is a cloaked dict.
> I found this very easy to get accustomed to.

Last time I checked (couple of years ago), JIM had no variable
traces and no "upvar", either. Without these things, arrays
are indeed hardly different from dicts anymore.
But tcl does have these.


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