[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dylan Constants

At  1:45 PM 10/20/92 +0100, Harry.Bretthauer@gmd.de wrote:
> >      From the Dylan reference, there appears to be now way of defining a read
> >     only constant ala the Common Lisp DEFCONSTANT macro. 
> One thing, I don't like in the CL DEFCONSTANT spec is that it mixes
> the concepts of bindings and data structures. 
> In an object oriented language like Dylan it should be a property of
> the anonymous object if it is read only or not. The question if the
> binding is mutable or immutable is an orthogonal one, although the
> compiler can make more optimizations if both the binding and the
> object are read only.

Dylan maintains the separation you want, and will continue to do so.