Phobos - breaking existing code

H. S. Teoh via Digitalmars-d digitalmars-d at puremagic.com
Sun Nov 30 21:10:31 PST 2014


On Sun, Nov 30, 2014 at 08:52:33PM -0800, Jonathan M Davis via Digitalmars-d wrote:
> On Sunday, November 30, 2014 23:19:19 weaselcat via Digitalmars-d wrote:
> > I suggest everything be made immutable by default ;)
> 
> That probably would have been too much of a divergence from D's C/C++
> roots to go over very well, but it's something that we would probably
> consider if we were starting from scratch - similarly, pure and @safe
> should probably be the default for functions, but it's far too late
> now.
[...]

If we were ever to have a D3, I'd propose that one of the first things
to do is to make everything pure and @safe by default.


T

-- 
Leather is waterproof.  Ever see a cow with an umbrella?


More information about the Digitalmars-d mailing list