Re: IMPORTANT need quick feedback on radical change
"Mark Hahn" <[email protected]> Tue, 27 Jul 2004 10:32:44 -0700
| Newsgroups | gmane.comp.lang.prothon.user |
|---|---|
| Message-ID | <006401c473ff$b9e0d1f0$da01a8c0@walker> |
"Christian Tismer" wrote: > Mark Hahn wrote: > > http://prothon.org/wiki?pagename=ImmutableObjectsNoTuples > > > > Please let me know what everyone thinks of this idea to remove tuples from > > Prothon. I want some quick feedback before inserting it into the Prothon > > talk happening this weekend. > > Whether there exist real tuples, distinct from lists, or > whether they are just lists with the immutable flag set > is just an implementation detail. > What I believe needs to stay is the notation of a tuple. I realize the notation is important also, especially if you are typing in a dictionary constant and need a tuple key. If we have the notation, then we might as well have the type. Would making the Bytes object individually immutable for use as a key be an unecessary complication for just one type? I guess I'll add another mutable bytes type. What a pain.