On 13-04-2012 18:47, Adam D. Ruppe wrote:
"Strive to make toHash, toString, opEquals and opCmp functions pure,
nothrow, const and @safe. Soon, this will become a requirement."
man, that's a lot of decorations.
This kind of thing makes me thing we should have opposites:
impure, maythrow, mutable, and @system. And virtual, while
I'm at it.
Then it might be a lil easier to just go
module lots.of.decorations;
pure:
const:
@safe:
nothrow:
and undecorate as needed. We seem to be moving in this
kind of direction.
I agree wholeheartedly...
--
- Alex