any news on const/invariant?
Walter Bright
newshound1 at digitalmars.com
Wed Nov 28 14:53:52 PST 2007
Bill Baxter wrote:
> Ok, but that seems to differ from your default position on other topics.
> Usually I see you saying we should do things to not confuse C++
> coders. "If it looks like C++ it should behave like C++" is the
> impression I've gotten in the past. But maybe you're gaining enough
> confidence in D these days that you're not as concerned about that any
> more. :-)
>
> ... So can we talk about the fall-through default in switch statements
> again? :-)
No, because to break things in a way that results in an error message is
ok, but breaking them so things silently behave differently is not ok.
> And the only commentary I've heard on that feature from D users has been
> negative. There could be a "silent majority" in favor of it, but I
> doubt it.
But I've seen converted code that used it.
More information about the Digitalmars-d
mailing list