The problem with const proposals
Sönke Ludwig
ludwig at informatik_dot_uni-luebeck.de
Fri Dec 7 10:38:50 PST 2007
Janice Caron wrote:
> On 12/7/07, guslay <guslay at gmail.com> wrote:
>> Here is my list so far
>
> But what is it a list /of/?
>
> I ask because item 6a violates const-transitivity, and
> const-transitivity is itself deemed to be a requirement of the D
> programming language. Are we compiling a list of conflicting
> requirement here?
>
> My list would be much shorter. It would be that const should be:
> (1) simple to understand
> (2) transitive
> (3) compatible with generic programming
>
> ...and that's kind of it, really.
I'd add (4) nice, intuitive syntax (as far as that's possible)
More information about the Digitalmars-d
mailing list