optimizations, in addition to correctness around aliasing. I enjoy that it
>
>
> On 11/10/09 10:36 AM, Colin LeMahieu wrote:
> > It would be interesting to see what could be done if CQS was compiler
> > enforced and queries were required to be referentially transparent; this
> > would be no where near backwards compatible, however, because you
> couldn't
> > do things like create a reference type and assign it to Result in the
> same
> > feature.
>
> (little advertisement for my thesis)
>
> Dynamic Frame Contracts solve this problem in a nice and elegant way,
> allowing queries to have modify and use specifications.
>
> Bernd
>
>
> >
> > On Tue, Nov 10, 2009 at 2:35 AM, Bernd Schoeller <
> >
[hidden email] <bernd.schoeller%40comerge.net>> wrote:
> >
> >>
> >>
> >> Hi Helmut,
> >>
> >> interesting thoughts. Just some small question: what do you do about the
> >> fact that queries are allowed to have side-effects? How do you
> >> unterstand the semantics of deep_twin?
> >>
> >> Also, it needs to be discussed if the introduction of two new keywords
> >> is necessary for something that can be nicely modeled using classes.
> >>
> >> Bernd
> >>
> >> --
> >> Bernd Schoeller, PhD, CTO, Partner
> >> Comerge AG, Bubenbergstrasse 11, CH-8045 Zurich, www.comerge.net
> >>
> >>
> >> On 11/9/09 4:30 AM, Helmut Brandl wrote:
> >>>
> >>>
> >>> In february we had a discussion on immutable strings on this mailing
> >> list.
> >>>
> >>> I have reviewed the current status of the library and came to the
> >>> conclusion that the design with STRING, READABLE_STRING and
> >>> IMMUTABLE_STRING perfectly reflects the need for STRINGs which we
> >>> discussed in february.
> >>>
> >>> The design for STRING can be used for any other type which needs
> >>> immutability. However if you use the pattern with more classes you end
> >>> up with 3 versions of each class (at least for the classes which needs
> >>> immutability).
> >>>
> >>> Therefore I think that the problem needs a more general solution. I
> have
> >>> encountered a possible solution to express immutability without the
> >>> overhead of having 3 classes and wrote it down in a small white paper.
> >>>
> >>> For those interested they can find it at
> >>>
> >>
>
http://tecomp.sourceforge.net/index.php?file=doc/papers/lang/immutability.txt> >>> <
> >>
>
http://tecomp.sourceforge.net/index.php?file=doc/papers/lang/immutability.txt> >>>
> >>> and discuss it in the forums at the origo site
> >>>
http://ecma-eiffel.origo.ethz.ch/forum.
> >>> <
http://ecma-eiffel.origo.ethz.ch/forum.>
> >>>
> >>> Immutability will be an important aspect to statically verify
> assertions
> >>> (i.e. proof them).
> >>>
> >>> Regards
> >>>
> >>>
> >>
> >>
> >
> >
> > [Non-text portions of this message have been removed]
> >
> >
> >
> > ------------------------------------
> >
> > Yahoo! Groups Links
> >
> >
> >
>
> --
> --
> Bernd Schoeller, PhD, CTO, Partner
> Comerge AG, Bubenbergstrasse 11, CH-8045 Zurich, www.comerge.net
>
>