const challenge

Janice Caron caron800 at googlemail.com
Fri Feb 1 08:37:12 PST 2008


On 2/1/08, Sean Kelly <sean at f4.ca> wrote:
> Requiring casts here seems like a blatant flaw in the current design.

I agree. But I gather Andrei, at least, is working on fixing it.


> Quite frankly, I'm
> shocked that the const features were considered complete with something
> like this in place.

Has anyone said they're considered complete? I don't think anyone
considers const to be finalized yet. It's still a work in progress,
and there are still one or two niggles remaining, which get brought up
from time to time. I guess we all assume that the wrinkles will get
ironed out in time.



> I'm starting to wonder if no one has any issues with it
> simply because no one's using it.

Ah, now there I have to say you're wrong on both counts. There are
still issues. Not as many as before, but still some minor ones. They
do get reported - sometimes here, sometimes in bugzilla. And there are
plenty of people using it, too (me, for one). That's how I know about
the concatenation thing.

I think it's more that the "cutting edge brigade" /expect/ things to
have a few problems, and so aren't that distressed when we encounter
them. We just figure out workarounds, and then post about it.
Eventually, the workaround stops being needed. (...we would hope).

I have to say, I love D2. I love the const features. I can live with
the annoyances (for now) because I think we're working towards
something marvellous.



More information about the Digitalmars-d mailing list